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

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

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

            return(coll);
        }