共用方式為


UShortTypeMapping 建構函式

定義

多載

UShortTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

初始化 UShortTypeMapping 類別的新執行個體。

UShortTypeMapping(String, Nullable<DbType>)

初始化 UShortTypeMapping 類別的新執行個體。

UShortTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

初始化 UShortTypeMapping 類別的新執行個體。

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

參數

適用於

UShortTypeMapping(String, Nullable<DbType>)

初始化 UShortTypeMapping 類別的新執行個體。

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

參數

storeType
String

資料庫類型的名稱。

dbType
Nullable<DbType>

要使用的 DbType

適用於