IConventionTypeBase.RemoveComplexProperty 方法

定义

重载

RemoveComplexProperty(IConventionComplexProperty)

从此类型中删除属性。

RemoveComplexProperty(String)

从此类型中删除属性。

RemoveComplexProperty(IConventionComplexProperty)

从此类型中删除属性。

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

参数

property
IConventionComplexProperty

要删除的属性。

返回

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

适用于

RemoveComplexProperty(String)

从此类型中删除属性。

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

参数

name
String

要删除的属性名称。

返回

已删除的属性。

适用于