Beispiel #1
0
        protected QueryContext CreateQueryContext(DataSourceSelectArguments arguments)
        {
            IDictionary <string, object> whereParameters         = WhereParameters.ToDictionary(_context, _owner);
            IOrderedDictionary           orderByParameters       = OrderByParameters.GetValues(_context, _owner).ToCaseInsensitiveDictionary();
            IDictionary <string, object> orderGroupsByParameters = OrderGroupsByParameters.ToDictionary(_context, _owner);
            IDictionary <string, object> selectNewParameters     = SelectNewParameters.ToDictionary(_context, _owner);
            IDictionary <string, object> groupByParameters       = GroupByParameters.ToDictionary(_context, _owner);

            return(new QueryContext(
                       whereParameters,
                       orderGroupsByParameters,
                       orderByParameters,
                       groupByParameters,
                       selectNewParameters,
                       arguments));
        }