Exemple #1
0
        public TblReviewCollection FetchByQuery(Query qry)
        {
            TblReviewCollection coll = new TblReviewCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public TblReviewCollection FetchAll()
        {
            TblReviewCollection coll = new TblReviewCollection();
            Query qry = new Query(TblReview.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public TblReviewCollection FetchByID(object Id)
        {
            TblReviewCollection coll = new TblReviewCollection().Where("ID", Id).Load();

            return(coll);
        }