Base solution for your next web application
Open Closed

Use service layer without repository #970


User avatar
0
vnunes created

How use service layer without repository pattern? The dbcontext implement by defaut a repository


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    you can inject

    IDbContextProvider<YourDbContext>
    

    into your application services. For that, you need to add reference to Abp.EntityFramework from your application layer.