/// <summary> /// Create a 'ORDER BY' phrase. /// </summary> /// <param name="expr">SQL 'SELECT' Expression.</param> /// <param name="orderAccording">Order according.</param> public APSqlOrderPhrase(APSqlOperateExpr expr, APSqlOrderAccording orderAccording) { _expr = expr; _orderAccording = orderAccording; }
/// <summary> /// Get an APSqlOrderPhrase. /// </summary> /// <param name="according">Order according.</param> /// <returns>The APSqlOrderPhrase.</returns> public virtual APSqlOrderPhrase GetQueryOrderByPhrase(APSqlOrderAccording according) { return(new APSqlOrderPhrase(_selectExpr, according)); }
/// <summary> /// Create a new APRptOrderDef. /// </summary> /// <param name="columnId">The APRptColumn ID.</param> /// <param name="according">Order according.</param> public APRptOrderDef(string columnId, APSqlOrderAccording according) { ColumnId = columnId; According = according; }
/// <summary> /// Create a new APRptGroupDef. /// </summary> /// <param name="columnId">ID of APRptColumn.</param> /// <param name="according">Order according.</param> /// <param name="dateGroupMode">Date group mode of APRptColumn.</param> public APRptGroupDef(string columnId, APSqlOrderAccording according, APSqlDateGroupMode dateGroupMode) { ColumnId = columnId; According = according; DateGroupMode = dateGroupMode; }
/// <summary> /// Create a new APRptGroupDef. /// </summary> /// <param name="columnId">ID of APRptColumn.</param> /// <param name="according">Order according.</param> /// <param name="dateGroupMode">Date group mode of APRptColumn.</param> public APRptGroupDef(string columnId, APSqlOrderAccording according, APSqlDateGroupMode dateGroupMode) { ColumnId = columnId; According = according; DateGroupMode = dateGroupMode; }
/// <summary> /// Create a 'ORDER BY' phrase. /// </summary> /// <param name="expr">SQL 'SELECT' Expression.</param> /// <param name="orderAccording">Order according.</param> public APSqlOrderPhrase(APSqlOperateExpr expr, APSqlOrderAccording orderAccording) { _expr = expr; _orderAccording = orderAccording; }
/// <summary> /// Create a new APRptOrderDef. /// </summary> /// <param name="columnId">The APRptColumn ID.</param> /// <param name="according">Order according.</param> public APRptOrderDef(string columnId, APSqlOrderAccording according) { ColumnId = columnId; According = according; }
/// <summary> /// Get an APSqlOrderPhrase. /// </summary> /// <param name="according">Order according.</param> /// <returns>The APSqlOrderPhrase.</returns> public virtual APSqlOrderPhrase GetQueryOrderByPhrase(APSqlOrderAccording according) { return new APSqlOrderPhrase(_selectExpr, according); }