IValueConverterSelector.Select(Type, Type) Method
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.
Returns the list of ValueConverterInfo instances that can be used to convert the given model type. Converters nearer the front of the list should be used in preference to converters nearer the end.
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo> Select (Type modelClrType, Type providerClrType = default);
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo> Select (Type modelClrType, Type? providerClrType = default);
abstract member Select : Type * Type -> seq<Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo>
Public Function Select (modelClrType As Type, Optional providerClrType As Type = Nothing) As IEnumerable(Of ValueConverterInfo)
Parameters
- modelClrType
- Type
The type for which a converter is needed.
- providerClrType
- Type
The store type to target, or null for any.
Returns
The converters available.
Remarks
See EF Core value converters for more information and examples.
Applies to
Entity Framework