Пример #1
0
        public override void Update(BaseEntity entity)
        {
            var categoria    = (Categoria)entity;
            var sqlOperation = mapper.GetUpdateStatement(categoria);

            dao.ExecuteProcedure(sqlOperation);
        }
Пример #2
0
        public override bool Update(BaseEntity entity)
        {
            var operation = _mapper.GetUpdateStatement(entity);
            var instance  = SqlDao.GetInstance();

            instance.ExecuteProcedure(operation);

            return(true);
        }
        public override void Update(Entity entity)
        {
            var categoria = (Categoria)entity;

            dao.ExecuteProcedure(mapper.GetUpdateStatement(categoria));
        }