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