TableBuilder.HasComment(String) Method

Definition

Configures a comment to be applied to the table

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder HasComment (string? comment);
abstract member HasComment : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder
override this.HasComment : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder
Public Overridable Function HasComment (comment As String) As TableBuilder

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