public IEnumerable<Manifest> GetManifest(DateTime start, DateTime end)
{
IPredicate[] predicates = new IPredicate[]
{
Predicates.Field<Manifest>(x => x.Date, Operator.Ge, start),
Predicates.Field<Manifest>(x => x.Date, Operator.Lt, new DateTime(end.Year, end.Month, end.Day).AddDays(1))
};
IList<ISort> sorts = new List<ISort>()
{
Predicates.Sort<Manifest>(x => x.Date),
Predicates.Sort<Manifest>(x => x.Cost)
};
return _database.GetList<Manifest>(Predicates.Group(GroupOperator.And, predicates), sorts);
}