public void TestLoadByCriteriaSortOrderManualBoth() { SqlTestStore <Bean> store = new SqlTestStore <Bean>("name"); QueryParameter sort = new QueryParameter(); sort.AddSortParam(Bean.Cols.BEA_ID, SortOrder.Asc); sort.AddSortParam(Bean.Cols.BEA_NAME, SortOrder.Desc); store.LoadAllByCriteria(null, new FilterCriteria().Equals(Bean.Cols.BEA_ID, 1), sort); Assert.AreEqual("BEA_ID asc, BEA_NAME desc", store.SortOrder); }