CastingConverter<TModel,TProvider> 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
CastingConverter<TModel,TProvider>() |
Creates a new instance of this converter. |
CastingConverter<TModel,TProvider>(ConverterMappingHints) |
Creates a new instance of this converter. |
CastingConverter<TModel,TProvider>()
Creates a new instance of this converter.
public CastingConverter ();
Public Sub New ()
Remarks
See EF Core value converters for more information and examples.
Applies to
CastingConverter<TModel,TProvider>(ConverterMappingHints)
Creates a new instance of this converter.
public CastingConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints mappingHints = default);
public CastingConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints? mappingHints);
new Microsoft.EntityFrameworkCore.Storage.ValueConversion.CastingConverter<'Model, 'Provider> : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.CastingConverter<'Model, 'Provider>
Public Sub New (Optional mappingHints As ConverterMappingHints = Nothing)
Public Sub New (mappingHints As ConverterMappingHints)
Parameters
- mappingHints
- ConverterMappingHints
Remarks
See EF Core value converters for more information and examples.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för