Distinct fields from a table

Posts   
 
    
Subbu avatar
Subbu
User
Posts: 13
Joined: 02-Mar-2006
# Posted on: 02-Mar-2006 12:26:48   

How to get distinct fields from a table using LLBLGen

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 02-Mar-2006 14:37:04   

I assume you mean distinct rows, right?

If so, if you are fetching an EntityCollection then Entities will be distinct inside the collection by default, unless you specify EntityCollection.DoNotPerformAddIfPresent = false

Else if your fetching a TypedList or a TypedView, use false for allaowDuplicates parameter found on the fetch methods.