語言

OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>.HasComment 方法

定義

配置一個評論以套用到表格

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)

參數

comment
String

桌上的留言。

傳回

一個建構器來進一步配置表格。

備註

更多資訊與範例請參閱 建模實體類型與關係 。

適用於