public TblRegServiceDetailCollection FetchByQuery(Query qry)
        {
            var coll = new TblRegServiceDetailCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public TblRegServiceDetailCollection FetchAll()
        {
            var coll = new TblRegServiceDetailCollection();
            var qry  = new Query(TblRegServiceDetail.Schema);

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

            return(coll);
        }