Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ConverterMappingHints Class
Definition
- Assembly:
- Microsoft.EntityFrameworkCore.dll
- Package:
- Microsoft.EntityFrameworkCore v10.0.0
- Package:
- Microsoft.EntityFrameworkCore v2.1.11
- Package:
- Microsoft.EntityFrameworkCore v2.2.6
- Package:
- Microsoft.EntityFrameworkCore v3.0.0
- Package:
- Microsoft.EntityFrameworkCore v3.1.0
- Package:
- Microsoft.EntityFrameworkCore v5.0.0
- Package:
- Microsoft.EntityFrameworkCore v6.0.0
- Package:
- Microsoft.EntityFrameworkCore v7.0.0
- Package:
- Microsoft.EntityFrameworkCore v8.0.0
- Package:
- Microsoft.EntityFrameworkCore v9.0.0
- Source:
- ConverterMappingHints.cs
- Source:
- ConverterMappingHints.cs
- Source:
- ConverterMappingHints.cs
- Source:
- ConverterMappingHints.cs
- Source:
- ConverterMappingHints.cs
- Source:
- ConverterMappingHints.cs
- Source:
- ConverterMappingHints.cs
- Source:
- ConverterMappingHints.cs
- Source:
- ConverterMappingHints.cs
- Source:
- ConverterMappingHints.cs
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.
[System.Runtime.CompilerServices.Nullable(0)]
public class ConverterMappingHints
public class ConverterMappingHints
[<System.Runtime.CompilerServices.Nullable(0)>]
type ConverterMappingHints = class
type ConverterMappingHints = class
Public Class ConverterMappingHints
- Inheritance
-
ConverterMappingHints
- Derived
- Attributes
Remarks
See EF Core value converters for more information and examples.
Constructors
| Name | Description |
|---|---|
| ConverterMappingHints(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Func<IProperty,IEntityType,ValueGenerator>) |
Creates a new ConverterMappingHints instance. Any hint contained in the instance
can be |
Properties
| Name | Description |
|---|---|
| IsUnicode |
Whether the mapped data type should support Unicode. |
| Precision |
The suggested precision of the mapped data type. |
| Scale |
The suggested scale of the mapped data type. |
| Size |
The suggested size of the mapped data type. |
| ValueGeneratorFactory |
Obsolete.
An optional factory for creating a specific ValueGenerator to use for model values when this converter is being used. |
Methods
| Name | Description |
|---|---|
| OverrideWith(ConverterMappingHints) |
Adds hints from the given object to this one. Hints that are already specified are overridden. |
| With(ConverterMappingHints) |
Adds hints from the given object to this one. Hints that are already specified are not overridden. |
Applies to
Entity Framework
Feedback
Was this page helpful?
