예제 #1
0
 public static PostgreSQLCopyHelper <TEntity> MapDate <TEntity>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, NpgsqlDate?> propertyGetter)
 {
     return(helper.MapNullable(columnName, propertyGetter, NpgsqlDbType.Date));
 }
예제 #2
0
 public static PostgreSQLCopyHelper <TEntity> MapTimeTz <TEntity>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, OffsetTime?> propertyGetter)
 {
     return(helper.MapNullable(columnName, propertyGetter, NpgsqlDbType.TimeTz));
 }
예제 #3
0
 public static PostgreSQLCopyHelper <TEntity> MapTimeStamp <TEntity>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, LocalDateTime?> propertyGetter)
 {
     return(helper.MapNullable(columnName, propertyGetter, NpgsqlDbType.Timestamp));
 }