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); }
public ConConsultorioTipoCollection FetchByID(object IdTipoConsultorio) { ConConsultorioTipoCollection coll = new ConConsultorioTipoCollection().Where("idTipoConsultorio", IdTipoConsultorio).Load(); return(coll); }