Beispiel #1
0
 public Field this[string name]
 {
     get
     {
         var fields = from f in _fields where f.Name == name select f;
         if (fields.Count() > 0)
         {
             return fields.Single();
         }
         else
         {
             Field f = new Field(this, name);
             _fields.Add(f);
             return f;
         }
     }
 }
Beispiel #2
0
 public static Aggregate Sum(Field aggregate)
 {
     return new Sum(aggregate);
 }
Beispiel #3
0
 public static Aggregate Min(Field aggregate)
 {
     return new Min(aggregate);
 }
Beispiel #4
0
 public static Aggregate Max(Field aggregate)
 {
     return new Max(aggregate);
 }
Beispiel #5
0
 public static Aggregate Count(Field aggregate)
 {
     return new Count(aggregate);
 }
Beispiel #6
0
 public static Aggregate Avg(Field aggregate)
 {
     return new Avg(aggregate);
 }