public void NewOrder(string propertyName, ListSortDirection direction, Type entityType) { this.Add(FilterMng.BuildOrderItem(propertyName, direction, entityType)); }
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)); }
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)); }
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)); }
public void NewGroup(string propertyName, Type entityType) { this.Add(FilterMng.BuildGroupItem(propertyName, entityType)); }