Creates NpgsqlCommand to run given query upon Start(). Data for the requested COPY IN operation can then be written to CopyData stream followed by a call to End() or Cancel().
Given command is run upon Start(). Data for the requested COPY IN operation can then be written to CopyData stream followed by a call to End() or Cancel().
public NpgsqlCopyIn(NpgsqlCommand,NpgsqlConnection);
Given command is executed upon Start() and all data from fromStream is passed to it as copy data.
public NpgsqlCopyIn(NpgsqlCommand,NpgsqlConnection,Stream);
Creates NpgsqlCommand to run given query upon Start(). Data for the requested COPY IN operation can then be written to CopyData stream followed by a call to End() or Cancel().
public NpgsqlCopyIn(string,NpgsqlConnection);
NpgsqlCopyIn Class | Npgsql Namespace