Share via


DateTimeOffsetTypeMapping Constructors

Definition

Overloads

DateTimeOffsetTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Initializes a new instance of the DateTimeOffsetTypeMapping class.

DateTimeOffsetTypeMapping(String, Nullable<DbType>)

Initializes a new instance of the DateTimeOffsetTypeMapping class.

DateTimeOffsetTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Initializes a new instance of the DateTimeOffsetTypeMapping class.

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

Parameters

Applies to

DateTimeOffsetTypeMapping(String, Nullable<DbType>)

Initializes a new instance of the DateTimeOffsetTypeMapping class.

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

Parameters

storeType
String

The name of the database type.

dbType
Nullable<DbType>

The DbType to be used.

Applies to