Share via


DateOnlyTypeMapping Constructors

Definition

Overloads

DateOnlyTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Initializes a new instance of the DateOnlyTypeMapping class.

DateOnlyTypeMapping(String, Nullable<DbType>)

Initializes a new instance of the DateOnlyTypeMapping class.

DateOnlyTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Initializes a new instance of the DateOnlyTypeMapping class.

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

Parameters

Applies to

DateOnlyTypeMapping(String, Nullable<DbType>)

Initializes a new instance of the DateOnlyTypeMapping class.

public DateOnlyTypeMapping (string storeType, System.Data.DbType? dbType = 5);
new Microsoft.EntityFrameworkCore.Storage.DateOnlyTypeMapping : string * Nullable<System.Data.DbType> -> Microsoft.EntityFrameworkCore.Storage.DateOnlyTypeMapping
Public Sub New (storeType As String, Optional dbType As Nullable(Of DbType) = 5)

Parameters

storeType
String

The name of the database type.

dbType
Nullable<DbType>

The DbType to be used.

Applies to