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

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

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

            return(coll);
        }