共用方式為


RelationalTypeMapping 建構函式

定義

多載

RelationalTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

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

RelationalTypeMapping(String, Type)

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

RelationalTypeMapping(String, Type, Nullable<DbType>)

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

RelationalTypeMapping(String, Type, Nullable<DbType>, Boolean, Nullable<Int32>)

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

RelationalTypeMapping(String, Type, Nullable<DbType>, Boolean, Nullable<Int32>, Boolean, Boolean)

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

RelationalTypeMapping(String, Type, Nullable<DbType>, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<Int32>)

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

RelationalTypeMapping(String, Type, Nullable<DbType>, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<Int32>, JsonValueReaderWriter)

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

RelationalTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

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

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

參數

parameters
RelationalTypeMapping.RelationalTypeMappingParameters

這個對應的參數。

適用於

RelationalTypeMapping(String, Type)

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

public RelationalTypeMapping (string storeType, Type clrType);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping : string * Type -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Public Sub New (storeType As String, clrType As Type)

參數

storeType
String

資料庫類型的名稱。

clrType
Type

.NET 類型。

適用於

RelationalTypeMapping(String, Type, Nullable<DbType>)

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

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

參數

storeType
String

資料庫類型的名稱。

clrType
Type

.NET 類型。

dbType
Nullable<DbType>

要使用的 DbType

適用於

RelationalTypeMapping(String, Type, Nullable<DbType>, Boolean, Nullable<Int32>)

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

protected RelationalTypeMapping (string storeType, Type clrType, System.Data.DbType? dbType = default, bool unicode = false, int? size = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping : string * Type * Nullable<System.Data.DbType> * bool * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Protected Sub New (storeType As String, clrType As Type, Optional dbType As Nullable(Of DbType) = Nothing, Optional unicode As Boolean = false, Optional size As Nullable(Of Integer) = Nothing)

參數

storeType
String

資料庫類型的名稱。

clrType
Type

.NET 類型。

dbType
Nullable<DbType>

要使用的 DbType

unicode
Boolean

值,指出型別是否應該處理 Unicode 資料。

size
Nullable<Int32>

屬性設定為儲存的資料大小,如果未設定任何大小,則為 null。

適用於

RelationalTypeMapping(String, Type, Nullable<DbType>, Boolean, Nullable<Int32>, Boolean, Boolean)

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

public RelationalTypeMapping (string storeType, Type clrType, System.Data.DbType? dbType, bool unicode, int? size, bool hasNonDefaultUnicode = false, bool hasNonDefaultSize = false);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping : string * Type * Nullable<System.Data.DbType> * bool * Nullable<int> * bool * bool -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Public Sub New (storeType As String, clrType As Type, dbType As Nullable(Of DbType), unicode As Boolean, size As Nullable(Of Integer), Optional hasNonDefaultUnicode As Boolean = false, Optional hasNonDefaultSize As Boolean = false)

參數

storeType
String

資料庫類型的名稱。

clrType
Type

.NET 類型。

dbType
Nullable<DbType>

要使用的 DbType

unicode
Boolean

值,指出型別是否應該處理 Unicode 資料。

size
Nullable<Int32>

屬性設定為儲存的資料大小,如果未設定任何大小,則為 null。

hasNonDefaultUnicode
Boolean

值,指出 Unicode 設定是否已手動設定為非預設值。

hasNonDefaultSize
Boolean

值,指出大小設定是否已手動設定為非預設值。

適用於

RelationalTypeMapping(String, Type, Nullable<DbType>, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<Int32>)

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

protected RelationalTypeMapping (string storeType, Type clrType, System.Data.DbType? dbType = default, bool unicode = false, int? size = default, bool fixedLength = false, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping : string * Type * Nullable<System.Data.DbType> * bool * Nullable<int> * bool * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Protected Sub New (storeType As String, clrType As Type, Optional dbType As Nullable(Of DbType) = Nothing, Optional unicode As Boolean = false, Optional size As Nullable(Of Integer) = Nothing, Optional fixedLength As Boolean = false, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)

參數

storeType
String

資料庫類型的名稱。

clrType
Type

.NET 類型。

dbType
Nullable<DbType>

要使用的 DbType

unicode
Boolean

值,指出型別是否應該處理 Unicode 資料。

size
Nullable<Int32>

屬性設定為儲存的資料大小,如果未設定任何大小,則為 null。

fixedLength
Boolean

值,指出類型是否具有固定長度資料。

precision
Nullable<Int32>

屬性設定為儲存的資料精確度,如果未設定有效位數,則為 null。

scale
Nullable<Int32>

屬性設定為儲存的資料小數位數,如果未設定任何小數位數,則為 null。

適用於

RelationalTypeMapping(String, Type, Nullable<DbType>, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<Int32>, JsonValueReaderWriter)

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

protected RelationalTypeMapping (string storeType, Type clrType, System.Data.DbType? dbType = default, bool unicode = false, int? size = default, bool fixedLength = false, int? precision = default, int? scale = default, Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter? jsonValueReaderWriter = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping : string * Type * Nullable<System.Data.DbType> * bool * Nullable<int> * bool * Nullable<int> * Nullable<int> * Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Protected Sub New (storeType As String, clrType As Type, Optional dbType As Nullable(Of DbType) = Nothing, Optional unicode As Boolean = false, Optional size As Nullable(Of Integer) = Nothing, Optional fixedLength As Boolean = false, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing, Optional jsonValueReaderWriter As JsonValueReaderWriter = Nothing)

參數

storeType
String

資料庫類型的名稱。

clrType
Type

.NET 類型。

dbType
Nullable<DbType>

要使用的 DbType

unicode
Boolean

值,指出型別是否應該處理 Unicode 資料。

size
Nullable<Int32>

屬性設定為儲存的資料大小,如果未設定任何大小,則為 null。

fixedLength
Boolean

值,指出類型是否具有固定長度資料。

precision
Nullable<Int32>

屬性設定為儲存的資料精確度,如果未設定有效位數,則為 null。

scale
Nullable<Int32>

屬性設定為儲存的資料小數位數,如果未設定任何小數位數,則為 null。

jsonValueReaderWriter
JsonValueReaderWriter

處理對應型別實例的讀取和寫入 JSON 值。

適用於