Example #1
0
        public ConConsultorioTipoCollection FetchByQuery(Query qry)
        {
            ConConsultorioTipoCollection coll = new ConConsultorioTipoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public ConConsultorioTipoCollection FetchAll()
        {
            ConConsultorioTipoCollection coll = new ConConsultorioTipoCollection();
            Query qry = new Query(ConConsultorioTipo.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public ConConsultorioTipoCollection FetchByID(object IdTipoConsultorio)
        {
            ConConsultorioTipoCollection coll = new ConConsultorioTipoCollection().Where("idTipoConsultorio", IdTipoConsultorio).Load();

            return(coll);
        }