RelationalConverterMappingHints Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
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 |
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 |
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
- 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
- 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
- valueGeneratorFactory
- Func<IProperty,IEntityType,ValueGenerator>
An optional factory for creating a specific ValueGenerator.
Applies to
Entity Framework