SlicedFindAll() protected static method

Returns a portion of the query results (sliced)
protected static SlicedFindAll ( Type targetType, int firstResult, int maxResults ) : Array
targetType System.Type The target type.
firstResult int The number of the first row to retrieve.
maxResults int The maximum number of results retrieved.
return System.Array
コード例 #1
0
 public static T[] FindAll(ICriterion[] criterias, Order[] orders, int firstResult, int maxresults)
 {
     return((T[])ActiveRecordBase.SlicedFindAll(typeof(T), firstResult, maxresults, orders, criterias));
 }
コード例 #2
0
 /// <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));
 }
コード例 #3
0
 /// <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));
 }
コード例 #4
0
 /// <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));
 }