コード例 #1
0
 /// <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);
 }
コード例 #2
0
 /// <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);
 }