SlicedFindAll() защищенный статический Метод

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.
Результат 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));
 }