public TblReviewCollection FetchAll() { TblReviewCollection coll = new TblReviewCollection(); Query qry = new Query(TblReview.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TblReviewCollection FetchByQuery(Query qry) { TblReviewCollection coll = new TblReviewCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TblReviewCollection FetchByID(object Id) { TblReviewCollection coll = new TblReviewCollection().Where("ID", Id).Load(); return coll; }