示例#1
0
 public void AggregateTest()
 {
     QueryMethods.Count(new AdventureWorks());
     QueryMethods.LongCount(new AdventureWorks());
     QueryMethods.Max(new AdventureWorks());
     QueryMethods.Min(new AdventureWorks());
     QueryMethods.Average(new AdventureWorks());
     QueryMethods.Sum(new AdventureWorks());
 }
 public void AggregateTest()
 {
     QueryMethods.Count();
     QueryMethods.LongCount();
     QueryMethods.Max();
     QueryMethods.Min();
     QueryMethods.Average();
     QueryMethods.Sum();
 }