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

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

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

            return(coll);
        }