Class NpgsqlMultirangeTypeMapping
The type mapping for PostgreSQL multirange types.
Implements
Inherited Members
Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class NpgsqlMultirangeTypeMapping : NpgsqlTypeMapping, INpgsqlTypeMapping
Remarks
Constructors
| Improve this Doc View SourceNpgsqlMultirangeTypeMapping(RelationalTypeMappingParameters, NpgsqlDbType, NpgsqlRangeTypeMapping, ISqlGenerationHelper)
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.
Declaration
protected NpgsqlMultirangeTypeMapping(RelationalTypeMappingParameters parameters, NpgsqlDbType npgsqlDbType, NpgsqlRangeTypeMapping rangeMapping, ISqlGenerationHelper sqlGenerationHelper)
Parameters
Type | Name | Description |
---|---|---|
RelationalTypeMappingParameters | parameters | |
NpgsqlDbType | npgsqlDbType | |
NpgsqlRangeTypeMapping | rangeMapping | |
ISqlGenerationHelper | sqlGenerationHelper |
Remarks
| Improve this Doc View SourceNpgsqlMultirangeTypeMapping(string, string?, Type, NpgsqlRangeTypeMapping, ISqlGenerationHelper)
Constructs an instance of the NpgsqlRangeTypeMapping class.
Declaration
public NpgsqlMultirangeTypeMapping(string storeType, string? storeTypeSchema, Type clrType, NpgsqlRangeTypeMapping rangeMapping, ISqlGenerationHelper sqlGenerationHelper)
Parameters
Type | Name | Description |
---|---|---|
string | storeType | The database type to map |
string? | storeTypeSchema | The schema of the type. |
Type | clrType | The CLR type to map. |
NpgsqlRangeTypeMapping | rangeMapping | The type mapping of the ranges contained in this multirange. |
ISqlGenerationHelper | sqlGenerationHelper | The SQL generation helper to delimit the store name. |
Remarks
| Improve this Doc View SourceNpgsqlMultirangeTypeMapping(string, Type, NpgsqlRangeTypeMapping, ISqlGenerationHelper)
Constructs an instance of the NpgsqlRangeTypeMapping class.
Declaration
public NpgsqlMultirangeTypeMapping(string storeType, Type clrType, NpgsqlRangeTypeMapping rangeMapping, ISqlGenerationHelper sqlGenerationHelper)
Parameters
Type | Name | Description |
---|---|---|
string | storeType | The database type to map |
Type | clrType | The CLR type to map. |
NpgsqlRangeTypeMapping | rangeMapping | The type mapping of the ranges contained in this multirange. |
ISqlGenerationHelper | sqlGenerationHelper | The SQL generation helper to delimit the store name. |
Remarks
Properties
| Improve this Doc View SourceRangeMapping
The relational type mapping of the ranges contained in this multirange.
Declaration
public virtual NpgsqlRangeTypeMapping RangeMapping { get; }
Property Value
Type | Description |
---|---|
NpgsqlRangeTypeMapping |
Remarks
| Improve this Doc View SourceSubtypeMapping
The relational type mapping of the values contained in this multirange.
Declaration
public virtual RelationalTypeMapping SubtypeMapping { get; }
Property Value
Type | Description |
---|---|
RelationalTypeMapping |
Remarks
Methods
| Improve this Doc View SourceClone(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.
Declaration
protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
RelationalTypeMappingParameters | parameters |
Returns
Type | Description |
---|---|
RelationalTypeMapping |
Remarks
| Improve this Doc View SourceGenerateCodeLiteral(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.
Declaration
public override Expression GenerateCodeLiteral(object value)
Parameters
Type | Name | Description |
---|---|---|
object | value |
Returns
Type | Description |
---|---|
Expression |
Remarks
| Improve this Doc View SourceGenerateNonNullSqlLiteral(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.
Declaration
public static string GenerateNonNullSqlLiteral(object value, RelationalTypeMapping rangeMapping, string multirangeStoreType)
Parameters
Type | Name | Description |
---|---|---|
object | value | |
RelationalTypeMapping | rangeMapping | |
string | multirangeStoreType |
Returns
Type | Description |
---|---|
string |
Remarks
| Improve this Doc View SourceGenerateNonNullSqlLiteral(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.
Declaration
protected override string GenerateNonNullSqlLiteral(object value)
Parameters
Type | Name | Description |
---|---|---|
object | value |
Returns
Type | Description |
---|---|
string |