EntityObject.IEntityWithRelationships.RelationshipManager 屬性

定義

取得這個物件所使用的關聯性 (Relationship) 管理員。

property System::Data::Objects::DataClasses::RelationshipManager ^ System::Data::Objects::DataClasses::IEntityWithRelationships::RelationshipManager { System::Data::Objects::DataClasses::RelationshipManager ^ get(); };
System.Data.Objects.DataClasses.RelationshipManager System.Data.Objects.DataClasses.IEntityWithRelationships.RelationshipManager { get; }
member this.System.Data.Objects.DataClasses.IEntityWithRelationships.RelationshipManager : System.Data.Objects.DataClasses.RelationshipManager
 ReadOnly Property RelationshipManager As RelationshipManager Implements IEntityWithRelationships.RelationshipManager

屬性值

這個物件所使用的 RelationshipManager

實作

備註

IEntityWithRelationships.RelationshipManager 會傳回這個物件所使用的 RelationshipManager。 物件服務會使用此關聯性管理員來提供相關物件的存取權。

公開 (Expose) 關聯性的類別必須透過在其建構函式 (Constructor) 中建構和設定 RelationshipManager,實作這個屬性。 這個屬性的實作 (Implementation) 應該會在需要時使用靜態 (Static) 方法 Create 來建立新的 RelationshipManager。 建立之後,這個物件必須儲存在實體上,而且將透過這個屬性提供。

適用於

另請參閱