RelationalEntityTypeExtensions.GetComment Method

Definition

Overloads

GetComment(IEntityType)

Returns the comment for the table this entity is mapped to.

GetComment(IReadOnlyEntityType)

Returns the comment for the table this entity is mapped to.

GetComment(IEntityType)

Returns the comment for the table this entity is mapped to.

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

Parameters

entityType
IEntityType

The entity type.

Returns

The comment for the table this entity is mapped to.

Applies to

GetComment(IReadOnlyEntityType)

Returns the comment for the table this entity is mapped to.

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

Parameters

entityType
IReadOnlyEntityType

The entity type.

Returns

The comment for the table this entity is mapped to.

Applies to