/// <summary> /// Creates and adds a new Oderby clause to the current query object /// </summary> /// <param name="fieldName"></param> /// <param name="order"></param> public SelectQueryBuilder OrderBy(string fieldName, Sorting order) { OrderByStatements.Add(new OrderByClause(fieldName, order)); return(this); }
/// <summary> /// Adds an OrderBy clause to the current query object /// </summary> /// <param name="clause"></param> public SelectQueryBuilder OrderBy(OrderByClause clause) { OrderByStatements.Add(clause); return(this); }