IConventionTypeBase.RemoveComplexProperty 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
要删除的属性名称。
返回
已删除的属性。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈