Exemple #1
0
 /// <summary>
 /// Loads all the entities that match the criteria
 /// by order
 /// </summary>
 /// <param name="criteria">the criteria to look for</param>
 /// <param name="orders"> the order to load the entities</param>
 /// <param name="firstResult">the first result to load</param>
 /// <param name="maxResults">the number of result to load</param>
 /// <returns>All the entities that match the criteria</returns>
 public ICollection <T> FindAll <T>(DetachedCriteria criteria,
                                    int firstResult, int maxResults,
                                    params Order[] orders)
 {
     return(internalRepository.FindAll <T>(criteria, firstResult, maxResults, orders));
 }