示例#1
0
 internal NpgsqlNotificationEventArgs(NpgsqlReadBuffer buf)
 {
     PID     = buf.ReadInt32();
     Channel = buf.ReadNullTerminatedString();
     Payload = buf.ReadNullTerminatedString();
 }
示例#2
0
 internal static PostgresException Load(NpgsqlReadBuffer buf, bool includeDetail)
 => new(ErrorOrNoticeMessage.Load(buf, includeDetail));
示例#3
0
 internal ColumnStream(NpgsqlConnector connector, bool startCancellableOperations = true)
 {
     _connector = connector;
     _buf       = connector.ReadBuffer;
     _startCancellableOperations = startCancellableOperations;
 }
示例#4
0
 internal static PostgresException Load(NpgsqlReadBuffer buf, bool suppressDetailInPostgressError)
 => new PostgresException(ErrorOrNoticeMessage.Load(buf, suppressDetailInPostgressError));
示例#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();
 }