Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoBernardino authored Jan 8, 2018
1 parent 7be156b commit 44cdb43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public interface IEntityRepository<TEntity> : IEntityRepository<TEntity, YourDbC
where TEntity : class, IIdentifiableEntity, new()
{ }
```
Create a new class that will be used as your database repository. This class most inherit from the EntityRepository<TEntity, TContext> class and the IEntityRepository<TEntity> interface that you have just created.
Create a new class that will be used as your database repository. This class most inherit from the EntityRepository<TEntity, TContext> class and also from the IEntityRepository<TEntity> interface that you have just created.
```C#
public class EntityRepository<TEntity> : EntityRepository<TEntity, YourDbContext>, IEntityRepository<TEntity>
where TEntity : class, IIdentifiableEntity, new()
Expand All @@ -32,7 +32,7 @@ public interface IEntityCounter<TEntity> : IEntityCounter<TEntity, YourDbContext
{ }
```

Create a new class that most inherit from EntityCounter<TEntity, YourDbContext> and the interface that you have just created.
Create a new class that most inherit from EntityCounter<TEntity, YourDbContext> and also from the interface that you have just created.
```C#
public class EntityCounter<TEntity> : EntityCounter<TEntity, RepositoryContext>, IEntityCounter<TEntity>
where TEntity : class, IIdentifiableEntity, new()
Expand Down

0 comments on commit 44cdb43

Please sign in to comment.