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

Commit 6f8a7d8

Browse files
author
Morten Turn Pedersen
committed
Made the repositories non abstract so you can use them without having to inherit from them if you just need the basic functionality
1 parent 5b80663 commit 6f8a7d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

NetCoreEntityFramework/Repositories/EntityRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
namespace Nodes.NetCore.EntityFramework.Repositories
1212
{
13-
public abstract class EntityRepository<TEntity> : IEntityRepository<TEntity> where TEntity : EntityBase
13+
public class EntityRepository<TEntity> : IEntityRepository<TEntity> where TEntity : EntityBase
1414
{
1515
protected DbContext Context { get; }
1616

NetCoreEntityFramework/Repositories/EntitySoftDeleteRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
namespace Nodes.NetCore.EntityFramework.Repositories
1212
{
13-
public abstract class EntitySoftDeleteRepository<TEntity> : EntityRepository<TEntity>, IEntitySoftDeleteRepository<TEntity> where TEntity : EntitySoftDeleteBase
13+
public class EntitySoftDeleteRepository<TEntity> : EntityRepository<TEntity>, IEntitySoftDeleteRepository<TEntity> where TEntity : EntitySoftDeleteBase
1414
{
1515
protected EntitySoftDeleteRepository(DbContext context) : base(context)
1616
{

0 commit comments

Comments
 (0)