Exemplo n.º 1
0
 internal NpgsqlNotificationEventArgs(NpgsqlReadBuffer buf)
 {
     PID     = buf.ReadInt32();
     Channel = buf.ReadNullTerminatedString();
     Payload = buf.ReadNullTerminatedString();
 }
Exemplo n.º 2
0
 internal static PostgresException Load(NpgsqlReadBuffer buf, bool includeDetail)
 => new(ErrorOrNoticeMessage.Load(buf, includeDetail));
Exemplo n.º 3
0
 internal ColumnStream(NpgsqlConnector connector, bool startCancellableOperations = true)
 {
     _connector = connector;
     _buf       = connector.ReadBuffer;
     _startCancellableOperations = startCancellableOperations;
 }
Exemplo n.º 4
0
 internal static PostgresException Load(NpgsqlReadBuffer buf, bool suppressDetailInPostgressError)
 => new PostgresException(ErrorOrNoticeMessage.Load(buf, suppressDetailInPostgressError));
Exemplo n.º 5
0
 internal static PostgresException Load(NpgsqlReadBuffer buf)
 => new PostgresException(ErrorOrNoticeMessage.Load(buf));
 internal NpgsqlNotificationEventArgs(NpgsqlReadBuffer buf)
 {
     PID                   = buf.ReadInt32();
     Condition             = buf.ReadNullTerminatedString();
     AdditionalInformation = buf.ReadNullTerminatedString();
 }