Exemple #1
0
        /// <summary>
        /// NOTE: This is called by the dOOdad framework and you should never call it. We reserve the right to remove or change this method.
        /// </summary>
        /// <param name="wItem">The AggregateParameter</param>
        public void AddAggregateParameter(AggregateParameter wItem)
        {
            if (_aggregateParameters == null)
            {
                _aggregateParameters = new ArrayList();
            }

            _aggregateParameters.Add(wItem);

            // We don't allow Save() to succeed once they reduce the columns
            this._entity._canSave = false;
        }
Exemple #2
0
 /// <summary>
 /// Overloaded to support aggregates.
 /// Derived classes implement this, like SqlClientDynamicQuery and OleDbDynamicQuery
 /// to account for differences in DBMS systems.
 /// </summary>
 /// <param name="aggregate">This should be an entry from your Aggregate class</param>
 /// <example>
 /// <code>
 /// emps.Query.AddGroupBy(emps.Aggregate.City)</code>
 /// </example>
 public virtual void AddGroupBy(AggregateParameter aggregate)
 {
 }
Exemple #3
0
 /// <summary>
 /// Overloaded to support aggregates.
 /// Derived classes implement this, like SqlClientDynamicQuery and OleDbDynamicQuery
 /// to account for differences in DBMS systems.
 /// </summary>
 /// <param name="aggregate">This should be an entry from your Aggregate class</param>
 /// <param name="direction">Either Descending or Ascending</param>
 /// <example>
 /// <code>
 /// emps.Query.AddOrderBy(emps.Aggregate.CategoryID, WhereParameter.Dir.ASC)</code>
 /// </example>
 public virtual void AddOrderBy(AggregateParameter aggregate, WhereParameter.Dir direction)
 {
 }