Beispiel #1
0
        public TThuocCapphatChitietCollection FetchByQuery(Query qry)
        {
            TThuocCapphatChitietCollection coll = new TThuocCapphatChitietCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #2
0
        public TThuocCapphatChitietCollection FetchAll()
        {
            TThuocCapphatChitietCollection coll = new TThuocCapphatChitietCollection();
            Query qry = new Query(TThuocCapphatChitiet.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #3
0
        public TThuocCapphatChitietCollection FetchByID(object IdCtiet)
        {
            TThuocCapphatChitietCollection coll = new TThuocCapphatChitietCollection().Where("id_ctiet", IdCtiet).Load();

            return(coll);
        }