Table of Contents

Class NpgsqlMultirangeTypeMapping

Namespace
Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping
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.RelationalTypeMappingParameters
npgsqlDbType NpgsqlDbType

NpgsqlMultirangeTypeMapping(string, Type, NpgsqlRangeTypeMapping)

Constructs an instance of the NpgsqlRangeTypeMapping class.

public NpgsqlMultirangeTypeMapping(string storeType, Type clrType, NpgsqlRangeTypeMapping rangeMapping)

Parameters

storeType string

The database type to map

clrType Type

The CLR type to map.

rangeMapping NpgsqlRangeTypeMapping

The type mapping of the ranges contained in this multirange.

Properties

NpgsqlDbType

The database type used by Npgsql.

public virtual NpgsqlDbType NpgsqlDbType { get; }

Property Value

NpgsqlDbType

RangeMapping

The relational type mapping of the ranges contained in this multirange.

public virtual NpgsqlRangeTypeMapping RangeMapping { get; }

Property Value

NpgsqlRangeTypeMapping

SubtypeMapping

The relational type mapping of the values contained in this multirange.

public virtual RelationalTypeMapping SubtypeMapping { get; }

Property Value

RelationalTypeMapping

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

parameters RelationalTypeMapping.RelationalTypeMappingParameters

Returns

RelationalTypeMapping

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

Expression

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

string

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 object
rangeMapping RelationalTypeMapping
multirangeStoreType string

Returns

string