Exemple #1
0
 public virtual long GetBytes(int ordinal, long fieldOffset, byte[] buffer, int bufferOffset, int length)
 {
     EnsureSubclassOverride();
     return(ValueUtilsSmi.GetBytes(_eventSink, _recordBuffer, ordinal, GetSmiMetaData(ordinal), fieldOffset, buffer, bufferOffset, length, true));
 }
Exemple #2
0
 public virtual void SetSqlBytes(int ordinal, SqlBytes value)
 {
     EnsureSubclassOverride();
     ValueUtilsSmi.SetSqlBytes(_eventSink, _recordBuffer, ordinal, GetSmiMetaData(ordinal), value);
 }
Exemple #3
0
 public virtual byte GetByte(int ordinal)
 {
     EnsureSubclassOverride();
     return(ValueUtilsSmi.GetByte(_eventSink, _recordBuffer, ordinal, GetSmiMetaData(ordinal)));
 }
Exemple #4
0
 public virtual void SetDateTimeOffset(int ordinal, DateTimeOffset value)
 {
     EnsureSubclassOverride();
     ValueUtilsSmi.SetDateTimeOffset(_eventSink, _recordBuffer, ordinal, GetSmiMetaData(ordinal), value);
 }
Exemple #5
0
 public virtual void SetDBNull(int ordinal)
 {
     EnsureSubclassOverride();
     ValueUtilsSmi.SetDBNull(_eventSink, _recordBuffer, ordinal, true);
 }
Exemple #6
0
 public virtual void SetInt64(int ordinal, System.Int64 value)
 {
     EnsureSubclassOverride();
     ValueUtilsSmi.SetInt64(_eventSink, _recordBuffer, ordinal, GetSmiMetaData(ordinal), value);
 }
Exemple #7
0
 public virtual void SetFloat(int ordinal, float value)
 {
     EnsureSubclassOverride();
     ValueUtilsSmi.SetSingle(_eventSink, _recordBuffer, ordinal, GetSmiMetaData(ordinal), value);
 }
Exemple #8
0
 public virtual void SetChars(int ordinal, long fieldOffset, char[] buffer, int bufferOffset, int length)
 {
     EnsureSubclassOverride();
     ValueUtilsSmi.SetChars(_eventSink, _recordBuffer, ordinal, GetSmiMetaData(ordinal), fieldOffset, buffer, bufferOffset, length);
 }
Exemple #9
0
 public virtual bool IsDBNull(int ordinal)
 {
     EnsureSubclassOverride();
     ThrowIfInvalidOrdinal(ordinal);
     return(ValueUtilsSmi.IsDBNull(_eventSink, _recordBuffer, ordinal));
 }
Exemple #10
0
 public virtual DateTimeOffset GetDateTimeOffset(int ordinal)
 {
     EnsureSubclassOverride();
     return(ValueUtilsSmi.GetDateTimeOffset(_eventSink, _recordBuffer, ordinal, GetSmiMetaData(ordinal)));
 }
 public override void Flush()
 {
     _lengthWritten = ValueUtilsSmi.SetBytesLength(_sink, _setters, _ordinal, _metaData, _lengthWritten);
 }
 public override void Write(byte[] buffer, int offset, int count)
 {
     _lengthWritten += ValueUtilsSmi.SetBytes(_sink, _setters, _ordinal, _metaData, _lengthWritten, buffer, offset, count);
 }