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

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