This project is read-only.
Writing queries in the partial classes ending with "Query" allows the queries to be discoverable via intellisense and stackable. Here's a simple example...

public ProductQuery WhereNotCancelled() {
    IQueryable<Product> products = from p in _query
                                   where p.Cancelled != 1
                                   select p;

    return new ProductQuery(products, _db);

Last edited Nov 30, 2009 at 7:41 AM by timhardy, version 6


No comments yet.