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

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

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

            return(coll);
        }