Castle.ActiveRecord.ActiveRecordBase.SlicedFindAll C# (CSharp) Method

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
		protected internal static Array SlicedFindAll(Type targetType, int firstResult, int maxResults,
		                                              params ICriterion[] criteria)
		{
			return SlicedFindAll(targetType, firstResult, maxResults, null, criteria);
		}

Same methods

ActiveRecordBase::SlicedFindAll ( Type targetType, int firstResult, int maxResults, DetachedCriteria criteria ) : Array
ActiveRecordBase::SlicedFindAll ( Type targetType, int firstResult, int maxResults, NHibernate.Criterion.Order orders ) : Array
ActiveRecordBase::SlicedFindAll ( Type targetType, int firstResult, int maxResults, NHibernate.Criterion.Order orders, DetachedCriteria criteria ) : Array

Usage Example

Ejemplo n.º 1
0
 public static T[] FindAll(ICriterion[] criterias, Order[] orders, int firstResult, int maxresults)
 {
     return((T[])ActiveRecordBase.SlicedFindAll(typeof(T), firstResult, maxresults, orders, criterias));
 }
All Usage Examples Of Castle.ActiveRecord.ActiveRecordBase::SlicedFindAll