DateTimeTypeMapping Constructors

Definition

Overloads

DateTimeTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Initializes a new instance of the DateTimeTypeMapping class.

DateTimeTypeMapping(String, Nullable<DbType>)

Initializes a new instance of the DateTimeTypeMapping class.

DateTimeTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Initializes a new instance of the DateTimeTypeMapping class.

protected DateTimeTypeMapping (Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters parameters);
new Microsoft.EntityFrameworkCore.Storage.DateTimeTypeMapping : Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters -> Microsoft.EntityFrameworkCore.Storage.DateTimeTypeMapping
Protected Sub New (parameters As RelationalTypeMapping.RelationalTypeMappingParameters)

Parameters

Applies to

DateTimeTypeMapping(String, Nullable<DbType>)

Initializes a new instance of the DateTimeTypeMapping class.

public DateTimeTypeMapping (string storeType, System.Data.DbType? dbType = default);
public DateTimeTypeMapping (string storeType, System.Data.DbType? dbType = 6);
new Microsoft.EntityFrameworkCore.Storage.DateTimeTypeMapping : string * Nullable<System.Data.DbType> -> Microsoft.EntityFrameworkCore.Storage.DateTimeTypeMapping
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) = 6)

Parameters

storeType
String

The name of the database type.

dbType
Nullable<DbType>

The DbType to be used.

Applies to