Ejemplo n.º 1
0
 public static IPostgresTuple NullableTimestampToTuple(DateTime?value)
 {
     if (value.HasValue)
     {
         return(TimestampConverter.ToTuple(value.Value));
     }
     return(null);
 }
Ejemplo n.º 2
0
 public static IPostgresTuple TimestampToTuple(DateTime value)
 {
     return(TimestampConverter.ToTuple(value));
 }