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

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

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

            return(coll);
        }