TableBuilder<TEntity>.HasComment(String) Method

Definition

Configures a comment to be applied to the table

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TEntity> HasComment (string? comment);
override this.HasComment : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<'Entity (requires 'Entity : null)>
Public Overridable Function HasComment (comment As String) As TableBuilder(Of TEntity)

Parameters

comment
String

The comment for the table.

Returns

A builder to further configure the table.

Remarks

See Modeling entity types and relationships for more information and examples.

Applies to