Share via


OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>.HasComment Method

Definition

Configures a comment to be applied to the table

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity> HasComment (string? comment);
override this.HasComment : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasComment (comment As String) As OwnedNavigationTableBuilder(Of TOwnerEntity, TDependentEntity)

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