示例#1
0
 public override bool Update(EntidadBase entidad)
 {
     try
     {
         SqlDao.ExecuteProcedure(_mapper.GetUpdateStatement(entidad));
         return(true);
     }
     catch (Exception ex)
     {
         return(false);
     }
 }
示例#2
0
        public override void Update(BaseEntity entity)
        {
            var empresa = (Empresa)entity;

            dao.ExecuteProcedure(mapper.GetUpdateStatement(empresa));
        }
示例#3
0
 public override void Update(BaseEntity entity)
 {
     dao.ExecuteProcedure(_mapper.GetUpdateStatement(entity));
 }