StringRelationalTypeMapper Class
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.
Caution
Use RelationalTypeMappingSource.
Maps string property types to their corresponding relational database types.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public class StringRelationalTypeMapper : Microsoft.EntityFrameworkCore.Storage.IStringRelationalTypeMapper
[System.Obsolete("Use RelationalTypeMappingSource.")]
public class StringRelationalTypeMapper : Microsoft.EntityFrameworkCore.Storage.IStringRelationalTypeMapper
type StringRelationalTypeMapper = class
interface IStringRelationalTypeMapper
[<System.Obsolete("Use RelationalTypeMappingSource.")>]
type StringRelationalTypeMapper = class
interface IStringRelationalTypeMapper
Public Class StringRelationalTypeMapper
Implements IStringRelationalTypeMapper
- Inheritance
-
StringRelationalTypeMapper
- Attributes
- Implements
Constructors
Properties
CreateBoundedAnsiMapping |
Gets the function to create a mapping for a bounded ANSI string. |
CreateBoundedUnicodeMapping |
Gets the function to create a mapping for a bounded Unicode string. |
DefaultAnsiMapping |
Gets the default mapping of an ANSI string. |
DefaultUnicodeMapping |
Gets the default mapping of a Unicode string. |
KeyAnsiMapping |
Gets the mapping for an ANSI string that is part of a key. |
KeyUnicodeMapping |
Gets the mapping for a Unicode string that is part of a key. |
MaxBoundedAnsiLength |
Gets the maximum length of a bounded ANSI string. |
MaxBoundedUnicodeLength |
Gets the maximum length of a bounded Unicode string. |
UnboundedAnsiMapping |
Gets the mapping for an unbounded ANSI string. |
UnboundedUnicodeMapping |
Gets the mapping for an unbounded Unicode string. |
Methods
FindMapping(Boolean, Boolean, Nullable<Int32>) |
Gets the relational database type for a string property. |
Applies to
Entity Framework