Beispiel #1
0
 public int Update(T obj, Expression <Func <T, bool> > predicate)
 {
     var where = QueryFactory.Create(predicate);
     return(Update(obj, where));
 }
Beispiel #2
0
        public List <T> GetList(Expression <Func <T, bool> > predicate)
        {
            var query = QueryFactory.Create(predicate);

            return(GetList(query));
        }
Beispiel #3
0
        public List <T> GetList()
        {
            var query = QueryFactory.Create <T>();

            return(GetList(query));
        }
Beispiel #4
0
 public int Delete(Expression <Func <T, bool> > predicate)
 {
     var where = QueryFactory.Create(predicate);
     return(Delete(where));
 }