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

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

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

            return(coll);
        }