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

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

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

            return(coll);
        }