News
If you would like to create a Repository for a specific entity, you should create a class that implements the generic IRepository interface. The following code listing shows how this can be achieved.
As you can see, to create any specific repository class, you would need to implement each of the methods of the generic repository interface.
The following is a generic repository for Entity Framework 6 with methods for both synchronous and asynchronous data operations.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results