public static PostgreSQLCopyHelper <TEntity> MapInterval <TEntity>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, TimeSpan?> propertyGetter) { return(helper.Map(columnName, propertyGetter, NpgsqlDbType.Interval)); }
public static PostgreSQLCopyHelper <TEntity> MapInetAddress <TEntity>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, IPAddress> propertyGetter) { return(helper.Map(columnName, propertyGetter, NpgsqlDbType.Inet)); }
public static PostgreSQLCopyHelper <TEntity> MapTimeStamp <TEntity>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, DateTime?> propertyGetter) { return(helper.Map(columnName, propertyGetter, NpgsqlDbType.Timestamp)); }
public static PostgreSQLCopyHelper <TEntity> MapMoney <TEntity>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, Decimal?> propertyGetter) { return(helper.Map(columnName, propertyGetter, NpgsqlDbType.Money)); }
public static PostgreSQLCopyHelper <TEntity> MapUUID <TEntity>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, Guid?> propertyGetter) { return(helper.Map(columnName, propertyGetter, NpgsqlDbType.Uuid)); }
public static PostgreSQLCopyHelper <TEntity> MapTimeTz <TEntity>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, OffsetTime> propertyGetter) { return(helper.Map(columnName, propertyGetter, NpgsqlDbType.TimeTz)); }
public static PostgreSQLCopyHelper <TEntity> MapByteArray <TEntity>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, byte[]> propertyGetter) { return(helper.Map(columnName, propertyGetter, NpgsqlDbType.Bytea)); }
public static PostgreSQLCopyHelper <TEntity> MapDate <TEntity>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, NpgsqlDate> propertyGetter) { return(helper.Map(columnName, propertyGetter, NpgsqlDbType.Date)); }
public static PostgreSQLCopyHelper <TEntity> MapBoolean <TEntity>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, bool> propertyGetter) { return(helper.Map(columnName, propertyGetter, NpgsqlDbType.Boolean)); }
public static PostgreSQLCopyHelper <TEntity> MapBigInt <TEntity>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, Int64?> propertyGetter) { return(helper.Map(columnName, propertyGetter, NpgsqlDbType.Bigint)); }
public static PostgreSQLCopyHelper <TEntity> MapCharacter <TEntity>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, String> propertyGetter) { return(helper.Map(columnName, propertyGetter, NpgsqlDbType.Char)); }
public static PostgreSQLCopyHelper <TEntity> MapArray <TEntity, TProperty>(this PostgreSQLCopyHelper <TEntity> helper, string columnName, Func <TEntity, TProperty> propertyGetter, NpgsqlDbType type) { return(helper.Map <TProperty>(columnName, propertyGetter, (NpgsqlDbType.Array | type))); }