From f18ae5eba4c356df82f0a621e30e2538f2e72783 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Wed, 16 Aug 2023 14:09:43 +0100 Subject: [PATCH] refactor(web): make dbcontext internal --- OliverBooth/Data/Web/WebContext.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OliverBooth/Data/Web/WebContext.cs b/OliverBooth/Data/Web/WebContext.cs index dac5c31..f623cf4 100644 --- a/OliverBooth/Data/Web/WebContext.cs +++ b/OliverBooth/Data/Web/WebContext.cs @@ -1,4 +1,4 @@ -using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; using OliverBooth.Data.Web.Configuration; namespace OliverBooth.Data.Web; @@ -6,7 +6,7 @@ namespace OliverBooth.Data.Web; /// /// Represents a session with the web database. /// -public sealed class WebContext : DbContext +internal sealed class WebContext : DbContext { private readonly IConfiguration _configuration;