Example #1
0
 public override bool Delete(EntidadBase entidad)
 {
     try
     {
         SqlDao.ExecuteQueryProcedureBoolean(_mapper.GetDeleteStatement(entidad));
         return(true);
     }
     catch (Exception ex)
     {
         AdministrarExcepcion(ex);
         throw ex;
     }
 }
Example #2
0
        public override void Delete(Entity entity)
        {
            var usuario = (Usuario)entity;

            dao.ExecuteProcedure(mapper.GetDeleteStatement(usuario));
        }
Example #3
0
 public override void Delete(BaseEntity entity)
 {
     dao.ExecuteProcedure(_mapper.GetDeleteStatement(entity));
 }
Example #4
0
        public override void Delete(BaseEntity entity)
        {
            var entidad = (Usuario)entity;

            dao.ExecuteProcedure(mapper.GetDeleteStatement(entity));
        }