Class NpgsqlMultirangeTypeMapping
- Assembly
- Npgsql.EntityFrameworkCore.PostgreSQL.dll
The type mapping for PostgreSQL multirange types.
public class NpgsqlMultirangeTypeMapping : RelationalTypeMapping
- Inheritance
-
NpgsqlMultirangeTypeMapping
- Inherited Members
Remarks
Constructors
NpgsqlMultirangeTypeMapping(RelationalTypeMappingParameters, NpgsqlDbType)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected NpgsqlMultirangeTypeMapping(RelationalTypeMapping.RelationalTypeMappingParameters parameters, NpgsqlDbType npgsqlDbType)
Parameters
parameters
RelationalTypeMapping.RelationalTypeMappingParametersnpgsqlDbType
NpgsqlDbType
NpgsqlMultirangeTypeMapping(string, Type, NpgsqlRangeTypeMapping)
Constructs an instance of the NpgsqlRangeTypeMapping class.
public NpgsqlMultirangeTypeMapping(string storeType, Type clrType, NpgsqlRangeTypeMapping rangeMapping)
Parameters
storeType
stringThe database type to map
clrType
TypeThe CLR type to map.
rangeMapping
NpgsqlRangeTypeMappingThe type mapping of the ranges contained in this multirange.
Properties
NpgsqlDbType
The database type used by Npgsql.
public virtual NpgsqlDbType NpgsqlDbType { get; }
Property Value
RangeMapping
The relational type mapping of the ranges contained in this multirange.
public virtual NpgsqlRangeTypeMapping RangeMapping { get; }
Property Value
SubtypeMapping
The relational type mapping of the values contained in this multirange.
public virtual RelationalTypeMapping SubtypeMapping { get; }
Property Value
Methods
Clone(RelationalTypeMappingParameters)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected override RelationalTypeMapping Clone(RelationalTypeMapping.RelationalTypeMappingParameters parameters)
Parameters
Returns
ConfigureParameter(DbParameter)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected override void ConfigureParameter(DbParameter parameter)
Parameters
parameter
DbParameter
GenerateCodeLiteral(object)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public override Expression GenerateCodeLiteral(object value)
Parameters
value
object
Returns
GenerateNonNullSqlLiteral(object)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected override string GenerateNonNullSqlLiteral(object value)
Parameters
value
object
Returns
GenerateNonNullSqlLiteral(object, RelationalTypeMapping, string)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public static string GenerateNonNullSqlLiteral(object value, RelationalTypeMapping rangeMapping, string multirangeStoreType)
Parameters
value
objectrangeMapping
RelationalTypeMappingmultirangeStoreType
string