RelationalPropertyExtensions.GetColumnType 方法

定義

多載

GetColumnType(IReadOnlyProperty, StoreObjectIdentifier)

傳回屬性所對應之資料行的資料庫類型,如果 null 找不到資料庫類型,則傳回 。

GetColumnType(IProperty, StoreObjectIdentifier)

傳回屬性所對應之資料行的資料庫類型。

GetColumnType(IProperty)

傳回屬性所對應之資料行的資料庫類型。

GetColumnType(IReadOnlyProperty)

傳回屬性所對應之資料行的資料庫類型,如果 null 找不到資料庫類型,則傳回 。

GetColumnType(IReadOnlyProperty, StoreObjectIdentifier)

傳回屬性所對應之資料行的資料庫類型,如果 null 找不到資料庫類型,則傳回 。

public static string? GetColumnType (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetColumnType : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetColumnType (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As String

參數

property
IReadOnlyProperty

屬性。

storeObject
StoreObjectIdentifier

包含資料行之類似資料表的存放區物件的識別碼。

傳回

屬性所對應的資料行資料庫類型,如果 null 找不到資料庫類型,則為 。

適用於

GetColumnType(IProperty, StoreObjectIdentifier)

傳回屬性所對應之資料行的資料庫類型。

public static string GetColumnType (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetColumnType : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetColumnType (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As String

參數

property
IProperty

屬性。

storeObject
StoreObjectIdentifier

包含資料行之類似資料表的存放區物件的識別碼。

傳回

屬性所對應之資料行的資料庫類型。

適用於

GetColumnType(IProperty)

傳回屬性所對應之資料行的資料庫類型。

public static string GetColumnType (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetColumnType : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
<Extension()>
Public Function GetColumnType (property As IProperty) As String

參數

property
IProperty

屬性。

傳回

屬性所對應之資料行的資料庫類型。

適用於

GetColumnType(IReadOnlyProperty)

傳回屬性所對應之資料行的資料庫類型,如果 null 找不到資料庫類型,則傳回 。

public static string? GetColumnType (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetColumnType : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> string
<Extension()>
Public Function GetColumnType (property As IReadOnlyProperty) As String

參數

property
IReadOnlyProperty

屬性。

傳回

屬性所對應的資料行資料庫類型,如果 null 找不到資料庫類型,則為 。

適用於