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;
77/// Base class for EF Core repositories with reusable query helpers.
88/// </summary>
99/// <typeparam name="TEntity">The entity type.</typeparam>
10- public abstract class Repository < TEntity > where TEntity : class
10+ public class Repository < TEntity > where TEntity : class
1111{
1212 /// <summary>
1313 /// Gets the EF DbContext instance.
@@ -23,7 +23,7 @@ public abstract class Repository<TEntity> where TEntity : class
2323 /// Initializes a new instance of the <see cref="Repository{TEntity}"/> class.
2424 /// </summary>
2525 /// <param name="context">The EF DbContext.</param>
26- protected Repository ( DbContext context )
26+ public Repository ( DbContext context )
2727 {
2828 Context = context ;
2929 DbSet = context . Set < TEntity > ( ) ;
You can’t perform that action at this time.
0 commit comments