DateTimeOffsetTypeMapping 构造函数

定义

重载

DateTimeOffsetTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

初始化 DateTimeOffsetTypeMapping 类的新实例。

DateTimeOffsetTypeMapping(String, Nullable<DbType>)

初始化 DateTimeOffsetTypeMapping 类的新实例。

DateTimeOffsetTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

初始化 DateTimeOffsetTypeMapping 类的新实例。

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)

参数

适用于

DateTimeOffsetTypeMapping(String, Nullable<DbType>)

初始化 DateTimeOffsetTypeMapping 类的新实例。

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)

参数

storeType
String

数据库类型的名称。

dbType
Nullable<DbType>

要使用的 DbType

适用于