RelationalConverterMappingHints Constructors

Definition

Overloads

RelationalConverterMappingHints(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Func<IProperty, IEntityType,ValueGenerator>)

Creates a new ConverterMappingHints instance. Any hint contained in the instance can be null to indicate it has not been specified.

RelationalConverterMappingHints(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Func<IProperty, ITypeBase,ValueGenerator>)
Obsolete.

Creates a new ConverterMappingHints instance. Any hint contained in the instance can be null to indicate it has not been specified.

RelationalConverterMappingHints(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Func<IProperty, IEntityType,ValueGenerator>, Nullable<DbType>)

Creates a new ConverterMappingHints instance. Any hint contained in the instance can be null to indicate it has not been specified.

RelationalConverterMappingHints(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Func<IProperty, IEntityType,ValueGenerator>)

Creates a new ConverterMappingHints instance. Any hint contained in the instance can be null to indicate it has not been specified.

public RelationalConverterMappingHints (int? size = default, int? precision = default, int? scale = default, bool? unicode = default, bool? fixedLength = default, Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator> valueGeneratorFactory = default);
public RelationalConverterMappingHints (int? size = default, int? precision = default, int? scale = default, bool? unicode = default, bool? fixedLength = default, Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>? valueGeneratorFactory = default);
new Microsoft.EntityFrameworkCore.Storage.ValueConversion.RelationalConverterMappingHints : Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> * Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.IEntityType, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator> -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.RelationalConverterMappingHints
Public Sub New (Optional size As Nullable(Of Integer) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing, Optional unicode As Nullable(Of Boolean) = Nothing, Optional fixedLength As Nullable(Of Boolean) = Nothing, Optional valueGeneratorFactory As Func(Of IProperty, IEntityType, ValueGenerator) = Nothing)

Parameters

size
Nullable<Int32>

The suggested size of the mapped data type.

precision
Nullable<Int32>

The suggested precision of the mapped data type.

scale
Nullable<Int32>

The suggested scale of the mapped data type.

unicode
Nullable<Boolean>

Whether or not the mapped data type should support Unicode.

fixedLength
Nullable<Boolean>

Whether or not the mapped data type is fixed length.

valueGeneratorFactory
Func<IProperty,IEntityType,ValueGenerator>

An optional factory for creating a specific ValueGenerator.

Applies to

RelationalConverterMappingHints(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Func<IProperty, ITypeBase,ValueGenerator>)

Caution

Use the overload with more parameters.

Creates a new ConverterMappingHints instance. Any hint contained in the instance can be null to indicate it has not been specified.

[System.Obsolete("Use the overload with more parameters.")]
public RelationalConverterMappingHints (int? size, int? precision, int? scale, bool? unicode, bool? fixedLength, Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.ITypeBase,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>? valueGeneratorFactory);
[<System.Obsolete("Use the overload with more parameters.")>]
new Microsoft.EntityFrameworkCore.Storage.ValueConversion.RelationalConverterMappingHints : Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> * Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.ITypeBase, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator> -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.RelationalConverterMappingHints
Public Sub New (size As Nullable(Of Integer), precision As Nullable(Of Integer), scale As Nullable(Of Integer), unicode As Nullable(Of Boolean), fixedLength As Nullable(Of Boolean), valueGeneratorFactory As Func(Of IProperty, ITypeBase, ValueGenerator))

Parameters

size
Nullable<Int32>

The suggested size of the mapped data type.

precision
Nullable<Int32>

The suggested precision of the mapped data type.

scale
Nullable<Int32>

The suggested scale of the mapped data type.

unicode
Nullable<Boolean>

Whether or not the mapped data type should support Unicode.

fixedLength
Nullable<Boolean>

Whether or not the mapped data type is fixed length.

valueGeneratorFactory
Func<IProperty,ITypeBase,ValueGenerator>

An optional factory for creating a specific ValueGenerator.

Attributes

Applies to

RelationalConverterMappingHints(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Func<IProperty, IEntityType,ValueGenerator>, Nullable<DbType>)

Creates a new ConverterMappingHints instance. Any hint contained in the instance can be null to indicate it has not been specified.

public RelationalConverterMappingHints (int? size = default, int? precision = default, int? scale = default, bool? unicode = default, bool? fixedLength = default, Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>? valueGeneratorFactory = default, System.Data.DbType? dbType = default);
new Microsoft.EntityFrameworkCore.Storage.ValueConversion.RelationalConverterMappingHints : Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> * Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.IEntityType, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator> * Nullable<System.Data.DbType> -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.RelationalConverterMappingHints
Public Sub New (Optional size As Nullable(Of Integer) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing, Optional unicode As Nullable(Of Boolean) = Nothing, Optional fixedLength As Nullable(Of Boolean) = Nothing, Optional valueGeneratorFactory As Func(Of IProperty, IEntityType, ValueGenerator) = Nothing, Optional dbType As Nullable(Of DbType) = Nothing)

Parameters

size
Nullable<Int32>

The suggested size of the mapped data type.

precision
Nullable<Int32>

The suggested precision of the mapped data type.

scale
Nullable<Int32>

The suggested scale of the mapped data type.

unicode
Nullable<Boolean>

Whether or not the mapped data type should support Unicode.

fixedLength
Nullable<Boolean>

Whether or not the mapped data type is fixed length.

valueGeneratorFactory
Func<IProperty,IEntityType,ValueGenerator>

An optional factory for creating a specific ValueGenerator.

dbType
Nullable<DbType>

The suggested DbType.

Applies to