Creates NpgsqlCommand to run given query upon Start(), after which CopyStream provides data from database as requested in the query.
Given command is run upon Start(), after which CopyStream provides data from database as requested in the query.
public NpgsqlCopyOut(NpgsqlCommand,NpgsqlConnection);
Given command is executed upon Start() and all requested copy data is written to toStream immediately.
public NpgsqlCopyOut(NpgsqlCommand,NpgsqlConnection,Stream);
Creates NpgsqlCommand to run given query upon Start(), after which CopyStream provides data from database as requested in the query.
public NpgsqlCopyOut(string,NpgsqlConnection);
NpgsqlCopyOut Class | Npgsql Namespace