public Products_BySupplier_NoTracking() { Map = products => from product in products let supplier = NoTracking.LoadDocument <Supplier>(product.Supplier) select new { Name = supplier.Name }; }
public static void Visit <TIn, TOut>(IQuery <TIn, TOut> query) where TIn : class where TOut : class { query = new NoTracking <TIn, TOut>(query); }