EntityObject.IEntityWithRelationships.RelationshipManager 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得此物件使用的關係管理器。
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 回傳 a RelationshipManager 被該物件使用的 a。 物件服務使用關係管理器來提供對相關物件的存取。
暴露關係的類別必須透過建構並設定 RelationshipManager 建構子來實作此特性。 此屬性的實作應使用靜態方法 Create 來在需要時建立新的 RelationshipManager 。 建立後,預期此物件會儲存在實體中,並透過此屬性提供。