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