Class NpgsqlRangeTypeMapping
The type mapping for PostgreSQL range types.
Implements
Inherited Members
Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class NpgsqlRangeTypeMapping : NpgsqlTypeMapping, INpgsqlTypeMapping
Remarks
Constructors
| Improve this Doc View SourceNpgsqlRangeTypeMapping(RelationalTypeMappingParameters, NpgsqlDbType, RelationalTypeMapping, 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 NpgsqlRangeTypeMapping(RelationalTypeMappingParameters parameters, NpgsqlDbType npgsqlDbType, RelationalTypeMapping subtypeMapping, ISqlGenerationHelper sqlGenerationHelper)
Parameters
Type | Name | Description |
---|---|---|
RelationalTypeMappingParameters | parameters | |
NpgsqlDbType | npgsqlDbType | |
RelationalTypeMapping | subtypeMapping | |
ISqlGenerationHelper | sqlGenerationHelper |
Remarks
| Improve this Doc View SourceNpgsqlRangeTypeMapping(string, string?, Type, RelationalTypeMapping, ISqlGenerationHelper)
Constructs an instance of the NpgsqlRangeTypeMapping class.
Declaration
public NpgsqlRangeTypeMapping(string storeType, string? storeTypeSchema, Type clrType, RelationalTypeMapping subtypeMapping, 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. |
RelationalTypeMapping | subtypeMapping | The type mapping for the range subtype. |
ISqlGenerationHelper | sqlGenerationHelper | The SQL generation helper to delimit the store name. |
Remarks
| Improve this Doc View SourceNpgsqlRangeTypeMapping(string, Type, RelationalTypeMapping, ISqlGenerationHelper)
Constructs an instance of the NpgsqlRangeTypeMapping class.
Declaration
public NpgsqlRangeTypeMapping(string storeType, Type clrType, RelationalTypeMapping subtypeMapping, ISqlGenerationHelper sqlGenerationHelper)
Parameters
Type | Name | Description |
---|---|---|
string | storeType | The database type to map |
Type | clrType | The CLR type to map. |
RelationalTypeMapping | subtypeMapping | The type mapping for the range subtype. |
ISqlGenerationHelper | sqlGenerationHelper | The SQL generation helper to delimit the store name. |
Remarks
Properties
| Improve this Doc View SourceSubtypeMapping
The relational type mapping of the range's subtype.
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 SourceGenerateEmbeddedNonNullSqlLiteral(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 GenerateEmbeddedNonNullSqlLiteral(object value)
Parameters
Type | Name | Description |
---|---|---|
object | value |
Returns
Type | Description |
---|---|
string |
Overrides
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 |