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

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

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

            return(coll);
        }