RelationalElementTypeExtensions.GetStoreType 方法

定義

多載

GetStoreType(IElementType)

傳回專案的資料庫類型。

GetStoreType(IReadOnlyElementType)

傳回元素的資料庫類型,如果找不到資料庫類型,則 null 傳回 。

GetStoreType(IElementType)

傳回專案的資料庫類型。

public static string GetStoreType (this Microsoft.EntityFrameworkCore.Metadata.IElementType elementType);
static member GetStoreType : Microsoft.EntityFrameworkCore.Metadata.IElementType -> string
<Extension()>
Public Function GetStoreType (elementType As IElementType) As String

參數

elementType
IElementType

元素。

傳回

專案的資料庫類型。

適用於

GetStoreType(IReadOnlyElementType)

傳回元素的資料庫類型,如果找不到資料庫類型,則 null 傳回 。

public static string? GetStoreType (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyElementType elementType);
static member GetStoreType : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyElementType -> string
<Extension()>
Public Function GetStoreType (elementType As IReadOnlyElementType) As String

參數

elementType
IReadOnlyElementType

元素。

傳回

元素的資料庫類型,如果 null 找不到資料庫類型,則為 。

適用於