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 e9f7116 commit 9ee0fe1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ Create a new class that will be used as your database repository. This class mos
```C#
public class EntityRepository<TEntity> : EntityRepository<TEntity, YourDbContext>, IEntityRepository<TEntity>
where TEntity : class, IIdentifiableEntity, new()
{ }
{
public EntityRepository(bool lazyLoadingEnabled, bool proxyCreationEnabled)
: base(lazyLoadingEnabled, proxyCreationEnabled)
{ }
}
```

Create a new repository for **User** class. It will give you all the options to read and write to the users table that you have configured on your DbContext.
Expand Down

0 comments on commit 9ee0fe1

Please sign in to comment.