Getting all related entity

Posts   
 
    
Intersolve
User
Posts: 5
Joined: 14-Jul-2005
# Posted on: 19-Oct-2005 17:17:37   

Is it possible to get all related entities definitions for a entity. GetMemberEntityCollections returns all entities which are 1:N related but I also want the 1:1 related entities.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 20-Oct-2005 16:06:22   

Try GetDependentRelatedEntities()

Which gets a collection of related entities referenced by this entity which this entity depends on (this entity is the FK side of their PK fields)

Intersolve
User
Posts: 5
Joined: 14-Jul-2005
# Posted on: 20-Oct-2005 17:24:16   

Walaa wrote:

Try GetDependentRelatedEntities()

Which gets a collection of related entities referenced by this entity which this entity depends on (this entity is the FK side of their PK fields)

Hmmmm...I thought this wouldn't work for my situation but apparantly it does. Great sunglasses

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 20-Oct-2005 17:48:34   

Keep in mind that these methods only work if the entities are already loaded. simple_smile

Frans Bouma | Lead developer LLBLGen Pro