public DmucDiachinhCollection FetchByQuery(Query qry)
        {
            DmucDiachinhCollection coll = new DmucDiachinhCollection();

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

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

            return(coll);
        }