public MamDiagnosticoCitologicoCollection FetchByQuery(Query qry) { MamDiagnosticoCitologicoCollection coll = new MamDiagnosticoCitologicoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public MamDiagnosticoCitologicoCollection FetchAll() { MamDiagnosticoCitologicoCollection coll = new MamDiagnosticoCitologicoCollection(); Query qry = new Query(MamDiagnosticoCitologico.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }