Example #1
0
 protected override void WriteTimestamp(TimestampData o, SqlType type)
 {
     this.WriteLong(o.GetSeconds());
     this.WriteInt(o.GetNanos());
     if (type.TypeCode == 0x5f)
     {
         this.WriteInt(o.GetZone());
     }
 }
Example #2
0
 protected override void WriteDate(TimestampData o, SqlType type)
 {
     this.WriteLong(o.GetSeconds());
 }