RelationalElementTypeExtensions.GetStoreType 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetStoreType(IElementType) |
傳回專案的資料庫類型。 |
GetStoreType(IReadOnlyElementType) |
傳回元素的資料庫類型,如果找不到資料庫類型,則 |
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
找不到資料庫類型,則為 。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應