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

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

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