Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit fee89f0

Browse files
author
Morten Turn Pedersen
authored
Merge pull request #39 from nodes-dotnet/develop
Deploy
2 parents af82135 + d215800 commit fee89f0

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

NetCoreEntityFramework/NetCoreEntityFramework.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
55
<PackageId>Nodes.NetCore.EntityFramework.Helpers</PackageId>
6-
<Version>2.1.2</Version>
6+
<Version>2.1.3</Version>
77
<Authors>Nodes</Authors>
88
<Company>Nodes</Company>
99
<Product>.NET Core Entity Framework Helpers</Product>
@@ -13,6 +13,7 @@
1313
<PackageIcon>Nodes logo.png</PackageIcon>
1414
<RepositoryUrl>https://github.com/nodes-dotnet/net-core-entity-framework</RepositoryUrl>
1515
<RepositoryType>Github</RepositoryType>
16+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1617
</PropertyGroup>
1718

1819
<ItemGroup>

NetCoreEntityFramework/Repositories/EntityRepository.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class EntityRepository<TEntity> : IEntityRepository<TEntity> where TEntit
1414
{
1515
protected DbContext Context { get; }
1616

17-
protected EntityRepository(DbContext context)
17+
public EntityRepository(DbContext context)
1818
{
1919
Context = context;
2020
}

NetCoreEntityFramework/Repositories/EntitySoftDeleteRepository.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Nodes.NetCore.EntityFramework.Repositories
1212
{
1313
public class EntitySoftDeleteRepository<TEntity> : EntityRepository<TEntity>, IEntitySoftDeleteRepository<TEntity> where TEntity : EntitySoftDeleteBase
1414
{
15-
protected EntitySoftDeleteRepository(DbContext context) : base(context)
15+
public EntitySoftDeleteRepository(DbContext context) : base(context)
1616
{
1717
}
1818

0 commit comments

Comments
 (0)