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

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

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