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

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

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

            return(coll);
        }