tags:

views:

607

answers:

2

How do you do DISTINCT with SubSonic.SqlQuery and not Query? I am using Subsonic 2.1 and can't seem to find DISTINCT

Thanks

+3  A: 

I don't know how to do it for ActiveRecord, but I don't think it's that much different from RepositoryRecord:

DB.Select().Distinct().From<Product>().....
John Sheehan
A: 

DB.Select().From().Distinct().....

junelee