Esempio n. 1
0
        public TblBinhLuanCollection FetchByQuery(Query qry)
        {
            TblBinhLuanCollection coll = new TblBinhLuanCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public TblBinhLuanCollection FetchAll()
        {
            TblBinhLuanCollection coll = new TblBinhLuanCollection();
            Query qry = new Query(TblBinhLuan.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public TblBinhLuanCollection FetchByID(object Id)
        {
            TblBinhLuanCollection coll = new TblBinhLuanCollection().Where("Id", Id).Load();

            return(coll);
        }