CharTypeMapping Constructors
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.
Overloads
CharTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters) |
Initializes a new instance of the CharTypeMapping class. |
CharTypeMapping(String, Nullable<DbType>) |
Initializes a new instance of the CharTypeMapping class. |
CharTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)
Initializes a new instance of the CharTypeMapping class.
protected CharTypeMapping (Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters parameters);
new Microsoft.EntityFrameworkCore.Storage.CharTypeMapping : Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters -> Microsoft.EntityFrameworkCore.Storage.CharTypeMapping
Protected Sub New (parameters As RelationalTypeMapping.RelationalTypeMappingParameters)
Parameters
Parameter object for RelationalTypeMapping.
Applies to
CharTypeMapping(String, Nullable<DbType>)
Initializes a new instance of the CharTypeMapping class.
public CharTypeMapping (string storeType, System.Data.DbType? dbType = default);
public CharTypeMapping (string storeType, System.Data.DbType? dbType = 16);
new Microsoft.EntityFrameworkCore.Storage.CharTypeMapping : string * Nullable<System.Data.DbType> -> Microsoft.EntityFrameworkCore.Storage.CharTypeMapping
Public Sub New (storeType As String, Optional dbType As Nullable(Of DbType) = Nothing)
Public Sub New (storeType As String, Optional dbType As Nullable(Of DbType) = 16)
Parameters
- storeType
- String
The name of the database type.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework