コード例 #1
0
        public TstPacienteCollection FetchByQuery(Query qry)
        {
            TstPacienteCollection coll = new TstPacienteCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public TstPacienteCollection FetchAll()
        {
            TstPacienteCollection coll = new TstPacienteCollection();
            Query qry = new Query(TstPaciente.Schema);

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