Split EntityCollectin into two collections

Posts   
 
    
tprohas
User
Posts: 257
Joined: 23-Mar-2004
# Posted on: 12-Mar-2005 01:13:32   

I have an EntityCollection that I want to split into two seperate collections based on the value of a property in the entities that are in the collection. Is this possible?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 12-Mar-2005 11:04:20   

traverse the collection and add the entity at hand to one of the two depending on the value. There is no logic build into the collection for this.

Frans Bouma | Lead developer LLBLGen Pro