TableBuilder.HasComment(String) 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.
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.