Ejemplo n.º 1
0
        public TThuocThuaCollection FetchByQuery(Query qry)
        {
            TThuocThuaCollection coll = new TThuocThuaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public TThuocThuaCollection FetchAll()
        {
            TThuocThuaCollection coll = new TThuocThuaCollection();
            Query qry = new Query(TThuocThua.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }