RelationalPropertyExtensions.GetComment 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| GetComment(IProperty) |
回傳該屬性所映射欄位的註解。 |
| GetComment(IReadOnlyProperty) |
回傳該屬性所映射欄位的註解。 |
| GetComment(IProperty, StoreObjectIdentifier) |
回傳該屬性所映射欄位的註解。 |
| GetComment(IReadOnlyProperty, StoreObjectIdentifier) |
回傳該屬性所映射欄位的註解。 |
GetComment(IProperty)
回傳該屬性所映射欄位的註解。
public static string GetComment(this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetComment : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
<Extension()>
Public Function GetComment (property As IProperty) As String
參數
- property
- IProperty
屬性。
傳回
該屬性所映射欄位的評論。
適用於
GetComment(IReadOnlyProperty)
回傳該屬性所映射欄位的註解。
public static string? GetComment(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetComment : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> string
<Extension()>
Public Function GetComment (property As IReadOnlyProperty) As String
參數
- property
- IReadOnlyProperty
屬性。
傳回
該屬性所映射欄位的評論。
適用於
GetComment(IProperty, StoreObjectIdentifier)
回傳該屬性所映射欄位的註解。
public static string GetComment(this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetComment : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetComment (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As String
參數
- property
- IProperty
屬性。
- storeObject
- StoreObjectIdentifier
包含欄位的類表格儲存物件的識別碼。
傳回
該屬性所映射欄位的評論。
適用於
GetComment(IReadOnlyProperty, StoreObjectIdentifier)
回傳該屬性所映射欄位的註解。
public static string? GetComment(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetComment : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetComment (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As String
參數
- property
- IReadOnlyProperty
屬性。
- storeObject
- StoreObjectIdentifier
包含欄位的類表格儲存物件的識別碼。
傳回
該屬性所映射欄位的評論。