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