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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public TblHislisRegCollection FetchByID(object Id)
        {
            TblHislisRegCollection coll = new TblHislisRegCollection().Where("ID", Id).Load();

            return(coll);
        }