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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public DmucChungCollection FetchAll()
        {
            DmucChungCollection coll = new DmucChungCollection();
            Query qry = new Query(DmucChung.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public DmucChungCollection FetchByID(object Ma)
        {
            DmucChungCollection coll = new DmucChungCollection().Where("MA", Ma).Load();

            return(coll);
        }