Example #1
0
        public void DeleteAll <T>(params Expression <Func <T, bool> >[] expressions) where T : new()
        {
            var criteriaNode = Expressions.CreateCriteriaNode(expressions);

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

            return(RetrieveAll <T>(criteriaNode));
        }