startingPosition and maximumQuantity below are int variables.
IList iList = session.CreateCriteria(typeof(RegisteredDriver)).AddOrder(Order.Asc("LicenseNumber")).SetFirstResult(startingPosition).SetMaxResults(maximumQuantity).List();
No comments:
Post a Comment