/// <summary>
 /// 查询指定合计函数并返回当前语句
 /// </summary>
 /// <param name="function">合计函数类型</param>
 /// <returns>当前语句</returns>
 public SelectCommand Query(SqlAggregateFunction function)
 {
     this._queryFields.Add(SqlQueryField.InternalCreateFromAggregateFunction(function));
     return(this);
 }
 /// <summary>
 /// 查询指定合计函数并返回当前语句
 /// </summary>
 /// <param name="tableName">表格名称</param>
 /// <param name="function">合计函数类型</param>
 /// <param name="fieldName">要查询的字段名</param>
 /// <returns>当前语句</returns>
 public SelectCommand Query(String tableName, SqlAggregateFunction function, String fieldName)
 {
     this._queryFields.Add(SqlQueryField.InternalCreateFromAggregateFunction(tableName, function, fieldName));
     return(this);
 }