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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public TblRegServiceDetailCollection FetchAll()
        {
            TblRegServiceDetailCollection coll = new TblRegServiceDetailCollection();
            Query 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);
        }