Esempio n. 1
0
        public ChiTietSpCollection FetchByQuery(Query qry)
        {
            ChiTietSpCollection coll = new ChiTietSpCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public ChiTietSpCollection FetchAll()
        {
            ChiTietSpCollection coll = new ChiTietSpCollection();
            Query qry = new Query(ChiTietSp.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public ChiTietSpCollection FetchByID(object Machitietsp)
        {
            ChiTietSpCollection coll = new ChiTietSpCollection().Where("machitietsp", Machitietsp).Load();

            return(coll);
        }