public void DeleteAll <T>(params Expression <Func <T, bool> >[] expressions) where T : new() { var criteriaNode = Expressions.CreateCriteriaNode(expressions); DeleteAll <T>(criteriaNode); }
public List <T> RetrieveAll <T>(params Expression <Func <T, bool> >[] expressions) where T : new() { var criteriaNode = Expressions.CreateCriteriaNode(expressions); return(RetrieveAll <T>(criteriaNode)); }