StringToEnumConverter<TEnum> Class
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.
Converts strings to and from enum values.
public class StringToEnumConverter<TEnum> : Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal.StringEnumConverter<string,TEnum,TEnum> where TEnum : struct
type StringToEnumConverter<'Enum (requires 'Enum : struct)> = class
inherit StringEnumConverter<string, 'Enum, 'Enum (requires 'Enum : struct and 'Enum : struct)>
Public Class StringToEnumConverter(Of TEnum)
Inherits StringEnumConverter(Of String, TEnum, TEnum)
- TEnum
- Inheritance
-
Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal.StringEnumConverter<String,TEnum,TEnum>StringToEnumConverter<TEnum>
See EF Core value converters for more information and examples.
String |
Creates a new instance of this converter. This converter does not preserve order. |
String |
Creates a new instance of this converter. This converter does not preserve order. |
Default |
A ValueConverterInfo for the default use of this converter. |
Product | Versions |
---|---|
Entity Framework Core | 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: