public TamDiagnosticoCollection FetchByQuery(Query qry) { TamDiagnosticoCollection coll = new TamDiagnosticoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TamDiagnosticoCollection FetchAll() { TamDiagnosticoCollection coll = new TamDiagnosticoCollection(); Query qry = new Query(TamDiagnostico.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TamDiagnosticoCollection FetchByID(object IdDiagnostico) { TamDiagnosticoCollection coll = new TamDiagnosticoCollection().Where("idDiagnostico", IdDiagnostico).Load(); return(coll); }