Пример #1
0
        public dynamic Query(string tableName, string query, string orderBy, string selectBy, int skip, int top)
        {
            var _orderBy  = SmartFilterDescriptorSerializer.Deserialize <SortDescriptor>(orderBy);
            var _selectBy = SmartFilterDescriptorSerializer.Deserialize <SelectDescriptor>(orderBy);

            return(Query(tableName, query, _orderBy, _selectBy, skip, top));
        }
Пример #2
0
        public ProviderQueryResult <List <T> > Query <T>(string tableName, string query, string orderBy, string selectBy, int skip, int top)
        {
            var _orderBy  = SmartFilterDescriptorSerializer.Deserialize <SortDescriptor>(orderBy);
            var _selectBy = SmartFilterDescriptorSerializer.Deserialize <SelectDescriptor>(orderBy);

            return(Query <T>(tableName, query, _orderBy, _selectBy, skip, top));
        }