예제 #1
0
        public SysHistoriaClinicaCollection FetchByQuery(Query qry)
        {
            SysHistoriaClinicaCollection coll = new SysHistoriaClinicaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public SysHistoriaClinicaCollection FetchAll()
        {
            SysHistoriaClinicaCollection coll = new SysHistoriaClinicaCollection();
            Query qry = new Query(SysHistoriaClinica.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }