示例#1
0
        public ChiTietSpCollection FetchByQuery(Query qry)
        {
            ChiTietSpCollection coll = new ChiTietSpCollection();

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

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

            return(coll);
        }