CastingConverter<TModel,TProvider> 构造函数

定义

重载

CastingConverter<TModel,TProvider>()

创建此转换器的新实例。

CastingConverter<TModel,TProvider>(ConverterMappingHints)

创建此转换器的新实例。

CastingConverter<TModel,TProvider>()

Source:
CastingConverter.cs
Source:
CastingConverter.cs
Source:
CastingConverter.cs
Source:
CastingConverter.cs

创建此转换器的新实例。

public CastingConverter ();
Public Sub New ()

注解

有关详细信息和示例 ,请参阅 EF Core 值转换器

适用于

CastingConverter<TModel,TProvider>(ConverterMappingHints)

Source:
CastingConverter.cs
Source:
CastingConverter.cs
Source:
CastingConverter.cs
Source:
CastingConverter.cs
Source:
CastingConverter.cs
Source:
CastingConverter.cs
Source:
CastingConverter.cs
Source:
CastingConverter.cs
Source:
CastingConverter.cs

创建此转换器的新实例。

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)

参数

mappingHints
ConverterMappingHints

注解

有关详细信息和示例 ,请参阅 EF Core 值转换器

适用于