RelationalEntityTypeExtensions.GetComment 方法

定義

多載

GetComment(IEntityType)

傳回這個實體所對應資料表的批註。

GetComment(IReadOnlyEntityType)

傳回這個實體所對應資料表的批註。

GetComment(IEntityType)

傳回這個實體所對應資料表的批註。

public static string GetComment (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetComment : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> string
<Extension()>
Public Function GetComment (entityType As IEntityType) As String

參數

entityType
IEntityType

實體類型。

傳回

這個實體所對應的資料表批註。

適用於

GetComment(IReadOnlyEntityType)

傳回這個實體所對應資料表的批註。

public static string? GetComment (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetComment : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> string
<Extension()>
Public Function GetComment (entityType As IReadOnlyEntityType) As String

參數

entityType
IReadOnlyEntityType

實體類型。

傳回

這個實體所對應的資料表批註。

適用於