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