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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public GuardiaRegistrosDiagnosticoCollection FetchByID(object Id)
        {
            GuardiaRegistrosDiagnosticoCollection coll = new GuardiaRegistrosDiagnosticoCollection().Where("id", Id).Load();

            return(coll);
        }