![]() |
Overloaded. Initializes a new instance of the NpgsqlCopyIn class. |
![]() | Set before a COPY IN query to define size of internal buffer for reading from given 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. |
![]() | Returns number of fields expected on each input row if this operation is currently active, otherwise -1 |
![]() | Returns true if the connection is currently reserved for this operation. |
![]() | Returns true if this operation is currently active and in binary format. |
![]() | The Command used to execute this copy operation. |
![]() | Withdraws an already started copy operation. The operation will fail with given error message. Will do nothing if current operation is not active. |
![]() | Called after writing all data to CopyStream to successfully complete this copy operation. |
![]() | |
![]() | Returns true if this operation is currently active and field at given location is in binary format. |
![]() | |
![]() | |
![]() | Command specified upon creation is executed as a non-query. If CopyStream is set upon creation, it will be flushed to server as copy data, and operation will be finished immediately. Otherwise the CopyStream member can be used for writing copy data to server and operation finished with a call to End() or Cancel(). |
![]() |
![]() | |
![]() |
NpgsqlCopyIn Class | Npgsql Namespace