Skip to content

Commit

Permalink
Remove unauthorized code when pooling is enable (#1532)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sben65 authored Nov 14, 2022
1 parent 3e769e1 commit 35dc9d2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/AzureIoTHub.Portal.Infrastructure/PortalDbContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
namespace AzureIoTHub.Portal.Infrastructure
{
using AzureIoTHub.Portal.Domain.Entities;
using EntityFramework.Exceptions.PostgreSQL;
using Microsoft.EntityFrameworkCore;


Expand Down Expand Up @@ -33,11 +32,5 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
}

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
_ = optionsBuilder.UseExceptionProcessor();
base.OnConfiguring(optionsBuilder);
}
}
}

0 comments on commit 35dc9d2

Please sign in to comment.