RelationalConverterMappingHints Class
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.
Specifies hints used by the type mapper when mapping using a ValueConverter.
public class RelationalConverterMappingHints : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints
type RelationalConverterMappingHints = class
inherit ConverterMappingHints
Public Class RelationalConverterMappingHints
Inherits ConverterMappingHints
- Inheritance
Remarks
See EF Core value converters for more information and examples.
Constructors
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 |
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 |
Properties
DbType |
The suggested DbType |
IsFixedLength |
Whether or not the mapped data type is fixed length. |
IsUnicode |
Whether or not the mapped data type should support Unicode. (Inherited from ConverterMappingHints) |
Precision |
The suggested precision of the mapped data type. (Inherited from ConverterMappingHints) |
Scale |
The suggested scale of the mapped data type. (Inherited from ConverterMappingHints) |
Size |
The suggested size of the mapped data type. (Inherited from ConverterMappingHints) |
ValueGeneratorFactory |
Obsolete.
An optional factory for creating a specific ValueGenerator to use for model values when this converter is being used. (Inherited from ConverterMappingHints) |
Methods
OverrideWith(ConverterMappingHints) |
Adds hints from the given object to this one. Hints that are already specified are overridden. |
OverrideWith(ConverterMappingHints) |
Adds hints from the given object to this one. Hints that are already specified are overridden. (Inherited from ConverterMappingHints) |
With(ConverterMappingHints) |
Adds hints from the given object to this one. Hints that are already specified are not overridden. |
Applies to
Entity Framework