Example #1
0
        public GuardiaRegistrosDiagnosticoCollection FetchByQuery(Query qry)
        {
            GuardiaRegistrosDiagnosticoCollection coll = new GuardiaRegistrosDiagnosticoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public GuardiaRegistrosDiagnosticoCollection FetchAll()
        {
            GuardiaRegistrosDiagnosticoCollection coll = new GuardiaRegistrosDiagnosticoCollection();
            Query qry = new Query(GuardiaRegistrosDiagnostico.Schema);

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