RelationalTypeMapping.RelationalTypeMappingParameters Struct

Definition

Parameter object for use in the RelationalTypeMapping hierarchy.

protected readonly struct RelationalTypeMapping.RelationalTypeMappingParameters
[System.Runtime.CompilerServices.IsReadOnly]
protected readonly struct RelationalTypeMapping.RelationalTypeMappingParameters
Protected Structure RelationalTypeMapping.RelationalTypeMappingParameters
Inheritance
RelationalTypeMapping.RelationalTypeMappingParameters
Attributes

Constructors

RelationalTypeMapping.RelationalTypeMappingParameters(CoreTypeMapping+CoreTypeMappingParameters, String, StoreTypePostfix, Nullable<DbType>, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<Int32>)

Creates a new RelationalTypeMapping.RelationalTypeMappingParameters parameter object.

Properties

CoreParameters

Parameters for the CoreTypeMapping base class.

DbType

The mapping DbType.

FixedLength

The mapping fixed-length flag.

Precision

The mapping precision.

PrecisionAndScaleOverriden
Obsolete.

This is provided for compatibility with 2.1 providers and shouldn't be used

Scale

The mapping scale.

Size

The mapping size.

StoreType

The mapping store type.

StoreTypePostfix

Indicates which values should be appended to the store type name.

Unicode

The mapping Unicode flag.

Methods

WithComposedConverter(ValueConverter)

Creates a new RelationalTypeMapping.RelationalTypeMappingParameters parameter object with the given converter composed with any existing converter and set on the new parameter object.

WithComposedConverter(ValueConverter, ValueComparer, ValueComparer, CoreTypeMapping, JsonValueReaderWriter)

Creates a new RelationalTypeMapping.RelationalTypeMappingParameters parameter object with the given converter composed with any existing converter and set on the new parameter object.

WithCoreParameters(CoreTypeMapping+CoreTypeMappingParameters)

Creates a new RelationalTypeMapping.RelationalTypeMappingParameters parameter object with the given core parameters.

WithPrecision(Nullable<Int32>)

Creates a new RelationalTypeMapping.RelationalTypeMappingParameters parameter object with the given precision.

WithPrecisionAndScale(Nullable<Int32>, Nullable<Int32>)

Creates a new RelationalTypeMapping.RelationalTypeMappingParameters parameter object with the given precision and scale

WithScale(Nullable<Int32>)

Creates a new RelationalTypeMapping.RelationalTypeMappingParameters parameter object with the given scale.

WithStoreTypeAndSize(String, Nullable<Int32>, Nullable<StoreTypePostfix>)

Creates a new RelationalTypeMapping.RelationalTypeMappingParameters parameter object with the given store type and size.

WithTypeMappingInfo(RelationalTypeMappingInfo)

Creates a new RelationalTypeMapping.RelationalTypeMappingParameters parameter object with the given mapping info.

WithTypeMappingInfo(RelationalTypeMappingInfo, Nullable<StoreTypePostfix>)

Creates a new RelationalTypeMapping.RelationalTypeMappingParameters parameter object with the given mapping info.

Applies to