public Aggregations(Context context, SiteSettings ss, View view) { var tableType = view.ShowHistory == true ? Sqls.TableTypes.Normal : ss.TableType; var where = view.Where( context: context, ss: ss); var param = view.Param( context: context, ss: ss); Set( context: context, ss: ss, dataSet: Repository.ExecuteDataSet( context: context, statements: Rds.Aggregations( context: context, ss: ss, tableType: tableType, join: ss.Join( context: context, join: where), where : where, param: param) .ToArray())); }
public Aggregations(IContext context, SiteSettings ss, View view) { Set( context: context, ss: ss, dataSet: Rds.ExecuteDataSet( context: context, statements: Rds.Aggregations( ss: ss, join: ss.Join( context: context, withColumn: true), where : view.Where( context: context, ss: ss)).ToArray())); }
public Aggregations(Context context, SiteSettings ss, View view) { var where = view.Where( context: context, ss: ss); Set( context: context, ss: ss, dataSet: Rds.ExecuteDataSet( context: context, statements: Rds.Aggregations( ss: ss, join: ss.Join( context: context, join: where), where : where).ToArray())); }
public Aggregations(Context context, SiteSettings ss, View view) { var tableType = (view.ShowHistory == true) ? Sqls.TableTypes.NormalAndHistory : ss.TableType; var where = view.Where( context: context, ss: ss); Set( context: context, ss: ss, dataSet: Rds.ExecuteDataSet( context: context, statements: Rds.Aggregations( ss: ss, tableType: tableType, join: ss.Join( context: context, join: where), where : where).ToArray())); }