RelationalEntityTypeExtensions.GetComment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework