RelationalTypeMappingSource.ParseStoreTypeName 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.
Parses a provider-specific store type name, extracting the standard facets (e.g. size, precision) and returns the base store type name (without any facets).
protected virtual string ParseStoreTypeName (string storeTypeName, out bool? unicode, out int? size, out int? precision, out int? scale);
protected virtual string? ParseStoreTypeName (string? storeTypeName, out bool? unicode, out int? size, out int? precision, out int? scale);
protected virtual string? ParseStoreTypeName (string? storeTypeName, ref bool? unicode, ref int? size, ref int? precision, ref int? scale);
abstract member ParseStoreTypeName : string * Nullable * Nullable * Nullable * Nullable -> string
override this.ParseStoreTypeName : string * Nullable * Nullable * Nullable * Nullable -> string
Protected Overridable Function ParseStoreTypeName (storeTypeName As String, ByRef unicode As Nullable(Of Boolean), ByRef size As Nullable(Of Integer), ByRef precision As Nullable(Of Integer), ByRef scale As Nullable(Of Integer)) As String
Parameters
- storeTypeName
- String
A provider-specific relational type name, including facets.
The Unicode or ANSI setting parsed from the type name, or null
if none was specified.
Returns
The provider-specific relational type name, with any facets removed.
Remarks
The default implementation supports sometype(size), sometype(precision) and sometype(precision, scale). Providers can override this to provide their own logic.
Applies to
Entity Framework