Filtering Collections

Posts   
 
    
bibekd
User
Posts: 1
Joined: 12-Nov-2008
# Posted on: 12-Nov-2008 23:20:40   

I have four different tables with strong relation like

Table 1 --> A,B Table 2 --> B,C,M Table 3 --> C,D Table 4 --> D,N

Now I need to write a method to get all the results in Table 4 which is belongs to A in Table 1.

thanks in advance.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 13-Nov-2008 04:26:19   

bibekd wrote:

Table 1 --> A,B Table 2 --> B,C,M Table 3 --> C,D Table 4 --> D,N

I'm not sure what the letters mean disappointed

bibekd wrote:

Now I need to write a method to get all the results in Table 4 which is belongs to A in Table 1.

Anyway, you should be able to do that using IPredicateExpression and IRelationCollection. Are you using Adapter or SelfServicing?

Take a look at this example.

David Elizondo | LLBLGen Support Team