ValueConverterSelector.Select(Type, Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回可用于转换给定模型类型的实例列表 ValueConverter 。 应优先使用靠近列表前面的转换器,而不是靠近末尾的转换器。
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterSelector+<Select>d__10))]
public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo> Select (Type modelClrType, Type providerClrType = default);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterSelector+<Select>d__11))]
public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo> Select (Type modelClrType, Type? providerClrType = default);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterSelector+<Select>d__10))>]
abstract member Select : Type * Type -> seq<Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo>
override this.Select : Type * Type -> seq<Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterSelector+<Select>d__11))>]
abstract member Select : Type * Type -> seq<Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo>
override this.Select : Type * Type -> seq<Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo>
Public Iterator Overridable Function Select (modelClrType As Type, Optional providerClrType As Type = Nothing) As IEnumerable(Of ValueConverterInfo)
参数
- modelClrType
- Type
需要转换器的类型。
- providerClrType
- Type
要面向的数据库提供程序类型,对于任何类型,为 null。
返回
可用的转换器。
实现
- 属性