Print Page | Close Window

GetRelatedEntity / GetEntityRelations

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1710
Printed Date: 03-Apr-2025 at 4:28pm


Topic: GetRelatedEntity / GetEntityRelations
Posted By: chuckc
Subject: GetRelatedEntity / GetEntityRelations
Date Posted: 12-Apr-2010 at 7:22pm
I'm trying to develop a routine to copy (using ImportEntities) an Entity and all of it's related, cached Entities from one EntityManager to another.

It looks like some combination of EntityAspect.GetRelatedEntity() and/or EntityModel.EntityRelation.GetEntityRelations() might do give me what I need, but I'm not finding any examples, and the documentation does not provide much detail. Can someone provide an example and/or expanded documentation on these methods?

Thanks.



Print Page | Close Window