Npgsql Api Docs

NpgsqlCopyIn Properties

The properties of the NpgsqlCopyIn class are listed below. For a complete list of NpgsqlCopyIn class members, see the NpgsqlCopyIn Members topic.

Public Instance Properties

CopyBufferSize Set before a COPY IN query to define size of internal buffer for reading from given CopyStream.
CopyStream The stream provided by user or generated upon Start(). User may provide a stream to constructor; it is used to pass to server all data read from it. Otherwise, call to Start() sets this to a writable NpgsqlCopyInStream that passes all data written to it to server. In latter case this is only available while the copy operation is active and null otherwise.
FieldCount Returns number of fields expected on each input row if this operation is currently active, otherwise -1
IsActive Returns true if the connection is currently reserved for this operation.
IsBinary Returns true if this operation is currently active and in binary format.
NpgsqlCommand The Command used to execute this copy operation.

See Also

NpgsqlCopyIn Class | Npgsql Namespace