共用方式為


ComplexPropertyBuilder.Ignore(String) 方法

定義

從複雜型別中排除指定的屬性。 這個方法通常用來從慣例新增的複雜型別中移除屬性和導覽。

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

參數

propertyName
String

要從複雜型別中移除的屬性名稱。

傳回

適用於