protected static SlicedFindAll ( |
||
targetType | The target type. | |
firstResult | int | The number of the first row to retrieve. |
maxResults | int | The maximum number of results retrieved. |
return |
public static T[] FindAll(ICriterion[] criterias, Order[] orders, int firstResult, int maxresults) { return((T[])ActiveRecordBase.SlicedFindAll(typeof(T), firstResult, maxresults, orders, criterias)); }
/// <summary> /// Returns a portion of the query results (sliced) /// </summary> public static Array SlicedFindAll(Type targetType, int firstResult, int maxResults, DetachedCriteria criteria) { return(ActiveRecordBase.SlicedFindAll(targetType, firstResult, maxResults, criteria)); }
/// <summary> /// Returns a portion of the query results (sliced) /// </summary> /// <param name="targetType">The target type.</param> /// <param name="firstResult">The number of the first row to retrieve.</param> /// <param name="maxResults">The maximum number of results retrieved.</param> /// <param name="detachedQuery">The query expression</param> /// <returns>The sliced query results.</returns> public static Array SlicedFindAll(Type targetType, int firstResult, int maxResults, IDetachedQuery detachedQuery) { return(ActiveRecordBase.SlicedFindAll(targetType, firstResult, maxResults, detachedQuery)); }
/// <summary> /// Returns a portion of the query results (sliced) /// </summary> public static Array SlicedFindAll(Type targetType, int firstResult, int maxresults, Order[] orders, params ICriterion[] criterias) { return(ActiveRecordBase.SlicedFindAll(targetType, firstResult, maxresults, orders, criterias)); }