ValueConverterSelector.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 ValueConverter 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.
[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)
Parameters
- modelClrType
- Type
The type for which a converter is needed.
- providerClrType
- Type
The database provider type to target, or null for any.
Returns
The converters available.
Implements
- Attributes
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework