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。
傳回
可用的轉換器。
實作
- 屬性