FindAll() protected static method

Returns all instances found for the specified type.
protected static FindAll ( Type targetType ) : Array
targetType System.Type The target type.
return System.Array
Exemplo n.º 1
0
 public static T[] FindAll(ICriterion[] criterias, Order[] orders)
 {
     return((T[])ActiveRecordBase.FindAll(typeof(T), orders, criterias));
 }
Exemplo n.º 2
0
 public static T[] FindAll(params ICriterion[] criterias)
 {
     return((T[])ActiveRecordBase.FindAll(typeof(T), criterias));
 }
Exemplo n.º 3
0
 public static T[] FindAll()
 {
     return((T[])ActiveRecordBase.FindAll(typeof(T)));
 }
Exemplo n.º 4
0
 /// <summary>
 /// Returns all instances found for the specified type according to the criteria
 /// </summary>
 /// <param name="targetType">The target type.</param>
 /// <param name="detachedQuery">The query expression</param>
 /// <returns>The <see cref="Array"/> of results.</returns>
 public static Array FindAll(Type targetType, IDetachedQuery detachedQuery)
 {
     return(ActiveRecordBase.FindAll(targetType, detachedQuery));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Returns all instances found for the specified type according to the criteria
 /// </summary>
 public static Array FindAll(Type targetType, DetachedCriteria detachedCriteria, params Order[] orders)
 {
     return(ActiveRecordBase.FindAll(targetType, detachedCriteria, orders));
 }
Exemplo n.º 6
0
 /// <summary>
 /// Returns all instances found for the specified type
 /// using sort orders and criterias.
 /// </summary>
 /// <param name="targetType"></param>
 /// <param name="orders"></param>
 /// <param name="criterias"></param>
 /// <returns></returns>
 public static Array FindAll(Type targetType, Order[] orders, params ICriterion[] criterias)
 {
     return(ActiveRecordBase.FindAll(targetType, orders, criterias));
 }