IMutableTypeBase.RemoveProperty 方法

定義

多載

RemoveProperty(IReadOnlyProperty)

從這個類型移除屬性。

RemoveProperty(String)

從這個類型移除屬性。

RemoveProperty(IReadOnlyProperty)

從這個類型移除屬性。

public Microsoft.EntityFrameworkCore.Metadata.IMutableProperty? RemoveProperty (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
abstract member RemoveProperty : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
Public Function RemoveProperty (property As IReadOnlyProperty) As IMutableProperty

參數

property
IReadOnlyProperty

要移除的屬性。

傳回

已移除的屬性,如果找不到屬性,則 null 為 。

適用於

RemoveProperty(String)

從這個類型移除屬性。

public Microsoft.EntityFrameworkCore.Metadata.IMutableProperty? RemoveProperty (string name);
abstract member RemoveProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
Public Function RemoveProperty (name As String) As IMutableProperty

參數

name
String

要移除之屬性的名稱。

傳回

已移除的屬性,如果找不到屬性,則 null 為 。

適用於