StringToBytesConverter(Encoding, ConverterMappingHints) Constructor
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.
Creates a new instance of this converter.
public StringToBytesConverter (System.Text.Encoding encoding, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints mappingHints = default);
public StringToBytesConverter (System.Text.Encoding encoding, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints? mappingHints = default);
new Microsoft.EntityFrameworkCore.Storage.ValueConversion.StringToBytesConverter : System.Text.Encoding * Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.StringToBytesConverter
Public Sub New (encoding As Encoding, Optional mappingHints As ConverterMappingHints = Nothing)
Parameters
- encoding
- Encoding
The string encoding to use.
- mappingHints
- ConverterMappingHints
Hints that can be used by the ITypeMappingSource to create data types with appropriate facets for the converted data.
Remarks
See EF Core value converters for more information and examples.
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