/// <summary> /// 排序(NoSQL)。 /// </summary> /// <param name="sorter">排序对象</param> /// <returns></returns> public virtual ISelectCommandBuilder Sort(NoSQL.Sorter sorter) { if (sorter != null) { foreach (System.Collections.Generic.KeyValuePair <string, object> pair in sorter.ToObject()) { OrderBy(_dialect.PreName(pair.Key, ".") + " " + pair.Value); } } return(this); }