public static T[] FindAllBySearchCriterion(HqlSearchCriterion criterion) { return(criterion.FindAll <T>(new ICriterion[0])); }
public static T[] FindAllByCriterion(HqlSearchCriterion criterion, params ICriterion[] crits) { return(criterion.FindAll <T>(crits)); }