ReferentialConstraint.FromRole 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
取得參與此 ReferentialConstraint 的 "from role"。
命名空間: System.Data.Entity.Core.Metadata.Edm
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Property FromRole As RelationshipEndMember
Get
Set
'用途
Dim instance As ReferentialConstraint
Dim value As RelationshipEndMember
value = instance.FromRole
instance.FromRole = value
public RelationshipEndMember FromRole { get; set; }
public:
property RelationshipEndMember^ FromRole {
RelationshipEndMember^ get ();
void set (RelationshipEndMember^ value);
}
member FromRole : RelationshipEndMember with get, set
function get FromRole () : RelationshipEndMember
function set FromRole (value : RelationshipEndMember)
屬性值
類型:System.Data.Entity.Core.Metadata.Edm.RelationshipEndMember
RelationshipEndMember 物件,表示參與此 ReferentialConstraint 的 "from role"。