Is it possible to Get TypedList RelationInfo without instantiating the typedlist first?

Posts   
 
   
 
Anonymous
User
Posts: 0
Joined: 11-Nov-2006
# Posted on: 13-Jun-2012 18:57:49   

Hi guys,

In order to get hold of an IRelationPredicateBucket for a typedlist we typically have to use something like:


var bucket = new MyTypedList().GetRelationInfo();

However, I would like to get hold of IRelationPredicateBucket without first instantiating the typedlist. Something equivalent to the following:


var bucket = MyTypedList.CreateRelationInfo();

Is this possible?

Cheers

Pete

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 13-Jun-2012 19:01:12   

Not available at the moment.

Anonymous
User
Posts: 0
Joined: 11-Nov-2006
# Posted on: 13-Jun-2012 19:12:37   

Not to worry. Is there a big overhead in me instantiating an empty typed list, grabbing the relationship info and then discarding the list?

Cheers

Pete

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 13-Jun-2012 19:19:36   

No it's just like an empty dataTable.