EntityTypeBase.RemoveMember 方法
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
从集合中删除指定的键成员。
命名空间: System.Data.Entity.Core.Metadata.Edm
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
Public Overrides Sub RemoveMember ( _
member As EdmMember _
)
用法
Dim instance As EntityTypeBase
Dim member As EdmMember
instance.RemoveMember(member)
public override void RemoveMember(
EdmMember member
)
public:
virtual void RemoveMember(
EdmMember^ member
) override
abstract RemoveMember :
member:EdmMember -> unit
override RemoveMember :
member:EdmMember -> unit
public override function RemoveMember(
member : EdmMember
)
参数
- member
类型:System.Data.Entity.Core.Metadata.Edm.EdmMember
要删除的键成员。