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