File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/KSFramework/GenericRepository Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ namespace KSFramework.GenericRepository;
7
7
/// Base class for EF Core repositories with reusable query helpers.
8
8
/// </summary>
9
9
/// <typeparam name="TEntity">The entity type.</typeparam>
10
- public abstract class Repository < TEntity > where TEntity : class
10
+ public class Repository < TEntity > where TEntity : class
11
11
{
12
12
/// <summary>
13
13
/// Gets the EF DbContext instance.
@@ -23,7 +23,7 @@ public abstract class Repository<TEntity> where TEntity : class
23
23
/// Initializes a new instance of the <see cref="Repository{TEntity}"/> class.
24
24
/// </summary>
25
25
/// <param name="context">The EF DbContext.</param>
26
- protected Repository ( DbContext context )
26
+ public Repository ( DbContext context )
27
27
{
28
28
Context = context ;
29
29
DbSet = context . Set < TEntity > ( ) ;
You can’t perform that action at this time.
0 commit comments