ReferenceOwnershipBuilder.Ignore(String) 方法

定義

從實體類型中排除指定的屬性。 這個方法通常用來從慣例新增的自有實體類型中移除屬性。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceOwnershipBuilder Ignore (string propertyName);
abstract member Ignore : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceOwnershipBuilder
override this.Ignore : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceOwnershipBuilder
Public Overridable Function Ignore (propertyName As String) As ReferenceOwnershipBuilder

參數

propertyName
String

要從實體類型中移除之 屬性的名稱。

傳回

適用於