public GuardiaRegistrosDiagnosticoCollection FetchByQuery(Query qry) { GuardiaRegistrosDiagnosticoCollection coll = new GuardiaRegistrosDiagnosticoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public GuardiaRegistrosDiagnosticoCollection FetchAll() { GuardiaRegistrosDiagnosticoCollection coll = new GuardiaRegistrosDiagnosticoCollection(); Query qry = new Query(GuardiaRegistrosDiagnostico.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public GuardiaRegistrosDiagnosticoCollection FetchByID(object Id) { GuardiaRegistrosDiagnosticoCollection coll = new GuardiaRegistrosDiagnosticoCollection().Where("id", Id).Load(); return(coll); }