Implement IRepository in DbRepository<TDbContext>
DbRepository<TDbContext> now implements the IRepository interface, ensuring it conforms to the expected repository contract and interface requirements. This change improves consistency and enforces interface adherence across repository implementations.
This commit is contained in:
@@ -14,7 +14,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace DigitalData.Core.Infrastructure
|
||||
{
|
||||
public class DbRepository<TDbContext> where TDbContext : DbContext
|
||||
public class DbRepository<TDbContext> : IRepository where TDbContext : DbContext
|
||||
{
|
||||
protected internal readonly TDbContext Context;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user