Пример #1
0
 public static TValue?Variance <TValue>(this IDataService dataService, string member, ICondition criteria = null, IDataAggregateOptions options = null) where TValue : struct, IEquatable <TValue> => dataService.Aggregate <TValue>(DataAggregateFunction.Variance, member, criteria, options);
Пример #2
0
 public DataAggregateContext(IDataAccess dataAccess, string name, DataAggregate aggregate, ICondition criteria, IDataAggregateOptions options = null) : base(dataAccess, name, aggregate, criteria, options)
 {
     this.Aliaser  = new Common.Expressions.Aliaser();
     this.Provider = DataEnvironment.Providers.GetProvider(dataAccess.Name);
     this.Session  = DataAccessContextUtility.GetSession(() => this.Provider.Multiplexer.GetSource(this));
 }
Пример #3
0
 public static TValue?DeviationPopulation <TKey1, TValue>(this IDataService dataService, string member, TKey1 key1, IDataAggregateOptions options = null) where TKey1 : IEquatable <TKey1> where TValue : struct, IEquatable <TValue> => dataService.Aggregate <TKey1, TValue>(DataAggregateFunction.DeviationPopulation, member, key1, options);
Пример #4
0
 public static TValue?DeviationPopulation <TKey1, TKey2, TKey3, TKey4, TKey5, TValue>(this IDataService dataService, string member, TKey1 key1, TKey2 key2, TKey3 key3, TKey4 key4, TKey5 key5, IDataAggregateOptions options = null) where TKey1 : IEquatable <TKey1> where TKey2 : IEquatable <TKey2> where TKey3 : IEquatable <TKey3> where TKey4 : IEquatable <TKey4> where TKey5 : IEquatable <TKey5> where TValue : struct, IEquatable <TValue> => dataService.Aggregate <TKey1, TKey2, TKey3, TKey4, TKey5, TValue>(DataAggregateFunction.DeviationPopulation, member, key1, key2, key3, key4, key5, options);
Пример #5
0
 public static TValue?Minimum <TValue>(this IDataService dataService, string member, string key, IDataAggregateOptions options        = null) where TValue : struct, IEquatable <TValue> => dataService.Aggregate <TValue>(DataAggregateFunction.Minimum, member, key, options);
Пример #6
0
 public static TValue?Minimum <TKey1, TKey2, TKey3, TKey4, TValue>(this IDataService dataService, string member, TKey1 key1, TKey2 key2, TKey3 key3, TKey4 key4, IDataAggregateOptions options = null) where TKey1 : IEquatable <TKey1> where TKey2 : IEquatable <TKey2> where TKey3 : IEquatable <TKey3> where TKey4 : IEquatable <TKey4> where TValue : struct, IEquatable <TValue> => dataService.Aggregate <TKey1, TKey2, TKey3, TKey4, TValue>(DataAggregateFunction.Minimum, member, key1, key2, key3, key4, options);
Пример #7
0
 public static TValue?Median <TKey1, TKey2, TValue>(this IDataService dataService, string member, TKey1 key1, TKey2 key2, IDataAggregateOptions options = null) where TKey1 : IEquatable <TKey1> where TKey2 : IEquatable <TKey2> where TValue : struct, IEquatable <TValue> => dataService.Aggregate <TKey1, TKey2, TValue>(DataAggregateFunction.Median, member, key1, key2, options);
Пример #8
0
 public static TValue?VariancePopulation <TKey1, TKey2, TKey3, TValue>(this IDataService dataService, string member, TKey1 key1, TKey2 key2, TKey3 key3, IDataAggregateOptions options = null) where TKey1 : IEquatable <TKey1> where TKey2 : IEquatable <TKey2> where TKey3 : IEquatable <TKey3> where TValue : struct, IEquatable <TValue> => dataService.Aggregate <TKey1, TKey2, TKey3, TValue>(DataAggregateFunction.VariancePopulation, member, key1, key2, key3, options);
Пример #9
0
 public static TValue?VariancePopulation <TValue>(this IDataService dataService, string member, string key, IDataAggregateOptions options        = null) where TValue : struct, IEquatable <TValue> => dataService.Aggregate <TValue>(DataAggregateFunction.VariancePopulation, member, key, options);
Пример #10
0
 public static TValue?VariancePopulation <TValue>(this IDataAccess dataAccess, string name, DataAggregate aggregate, ICondition criteria  = null, IDataAggregateOptions options = null, Func <DataAggregateContextBase, bool> aggregating = null, Action <DataAggregateContextBase> aggregated = null) where TValue : struct, IEquatable <TValue> => dataAccess.Aggregate <TValue>(name, aggregate, criteria, options, aggregating, aggregated);
Пример #11
0
 public static TValue?VariancePopulation <TValue>(this IDataAccess dataAccess, string name, string member, ICondition criteria  = null, IDataAggregateOptions options = null) where TValue : struct, IEquatable <TValue> => dataAccess.Aggregate <TValue>(name, DataAggregateFunction.VariancePopulation, member, criteria, options);