Пример #1
0
 public static IPostgresTuple NullableTimestampToTuple(DateTime?value)
 {
     if (value.HasValue)
     {
         return(TimestampConverter.ToTuple(value.Value));
     }
     return(null);
 }
Пример #2
0
 public static IPostgresTuple TimestampToTuple(DateTime value)
 {
     return(TimestampConverter.ToTuple(value));
 }