diff --git a/NetCoreEntityFramework/NetCoreEntityFramework.csproj b/NetCoreEntityFramework/NetCoreEntityFramework.csproj index 6bb3a7e..a1b6665 100644 --- a/NetCoreEntityFramework/NetCoreEntityFramework.csproj +++ b/NetCoreEntityFramework/NetCoreEntityFramework.csproj @@ -3,7 +3,7 @@ netstandard2.1 Nodes.NetCore.EntityFramework.Helpers - 2.1.2 + 2.1.3 Nodes Nodes .NET Core Entity Framework Helpers @@ -13,6 +13,7 @@ Nodes logo.png https://github.com/nodes-dotnet/net-core-entity-framework Github + MIT diff --git a/NetCoreEntityFramework/Repositories/EntityRepository.cs b/NetCoreEntityFramework/Repositories/EntityRepository.cs index 8b152d5..e933a9c 100644 --- a/NetCoreEntityFramework/Repositories/EntityRepository.cs +++ b/NetCoreEntityFramework/Repositories/EntityRepository.cs @@ -14,7 +14,7 @@ public class EntityRepository : IEntityRepository where TEntit { protected DbContext Context { get; } - protected EntityRepository(DbContext context) + public EntityRepository(DbContext context) { Context = context; } diff --git a/NetCoreEntityFramework/Repositories/EntitySoftDeleteRepository.cs b/NetCoreEntityFramework/Repositories/EntitySoftDeleteRepository.cs index 6c76c3e..18f329a 100644 --- a/NetCoreEntityFramework/Repositories/EntitySoftDeleteRepository.cs +++ b/NetCoreEntityFramework/Repositories/EntitySoftDeleteRepository.cs @@ -12,7 +12,7 @@ namespace Nodes.NetCore.EntityFramework.Repositories { public class EntitySoftDeleteRepository : EntityRepository, IEntitySoftDeleteRepository where TEntity : EntitySoftDeleteBase { - protected EntitySoftDeleteRepository(DbContext context) : base(context) + public EntitySoftDeleteRepository(DbContext context) : base(context) { }