Esempio n. 1
0
        public SysPacienteCollection FetchByQuery(Query qry)
        {
            SysPacienteCollection coll = new SysPacienteCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public SysPacienteCollection FetchAll()
        {
            SysPacienteCollection coll = new SysPacienteCollection();
            Query qry = new Query(SysPaciente.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public SysPacienteCollection FetchByID(object IdPaciente)
        {
            SysPacienteCollection coll = new SysPacienteCollection().Where("idPaciente", IdPaciente).Load();

            return(coll);
        }