TableBuilder<TEntity>.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<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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework