IMutableTypeBase.RemoveComplexProperty 方法

定义

重载

RemoveComplexProperty(IReadOnlyProperty)

从此类型中删除属性。

RemoveComplexProperty(String)

从此类型中删除属性。

RemoveComplexProperty(IReadOnlyProperty)

从此类型中删除属性。

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

参数

property
IReadOnlyProperty

要删除的属性。

返回

删除的属性; null 如果未找到该属性,则为 。

适用于

RemoveComplexProperty(String)

从此类型中删除属性。

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

参数

name
String

要删除的属性名称。

返回

删除的属性; null 如果未找到该属性,则为 。

适用于