Пример #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);
        }
Пример #3
0
        public SysHistoriaClinicaCollection FetchByID(object IdHistoriaClinica)
        {
            SysHistoriaClinicaCollection coll = new SysHistoriaClinicaCollection().Where("idHistoriaClinica", IdHistoriaClinica).Load();

            return(coll);
        }