ReferentialConstraint.ToRole 属性
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
获取参与此 ReferentialConstraint 的“目标角色”。
命名空间: System.Data.Entity.Core.Metadata.Edm
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
Public Property ToRole As RelationshipEndMember
Get
Set
用法
Dim instance As ReferentialConstraint
Dim value As RelationshipEndMember
value = instance.ToRole
instance.ToRole = value
public RelationshipEndMember ToRole { get; set; }
public:
property RelationshipEndMember^ ToRole {
RelationshipEndMember^ get ();
void set (RelationshipEndMember^ value);
}
member ToRole : RelationshipEndMember with get, set
function get ToRole () : RelationshipEndMember
function set ToRole (value : RelationshipEndMember)
属性值
类型:System.Data.Entity.Core.Metadata.Edm.RelationshipEndMember
一个 RelationshipEndMember 对象,表示参与此 ReferentialConstraint 的“目标角色”。