Example #1
0
 public void NewOrder(string propertyName,
                      ListSortDirection direction,
                      Type entityType)
 {
     this.Add(FilterMng.BuildOrderItem(propertyName,
                                       direction,
                                       entityType));
 }
Example #2
0
        public static string ORDER(OrderList orders, string tableAlias, Dictionary <String, ForeignField> foreignFields)
        {
            if (orders == null)
            {
                return(string.Empty);
            }

            return(FilterMng.GET_ORDERS_SQL(orders, tableAlias, foreignFields));
        }
Example #3
0
        protected static string GROUPBY(GroupList groups, string tableAlias, Dictionary <String, ForeignField> foreignFields)
        {
            if (groups == null || groups.Count == 0)
            {
                return(string.Empty);
            }

            return(FilterMng.GET_GROUPBY_SQL(groups, tableAlias, foreignFields));
        }
Example #4
0
 public void NewFilter(object value,
                       string propertyName,
                       IFilterProperty filterProperty,
                       Operation operation,
                       Type entityType, String propLabel)
 {
     this.Add(FilterMng.BuildFilterItem(value,
                                        propertyName,
                                        filterProperty,
                                        operation,
                                        entityType, propLabel));
 }
Example #5
0
 public void NewGroup(string propertyName, Type entityType)
 {
     this.Add(FilterMng.BuildGroupItem(propertyName, entityType));
 }