0
cfyazilim created
1 Answer(s)
-
0
Hi,
You can create a custom repository as explained in https://aspnetboilerplate.com/Pages/Documents/Repositories#custom-repositories and access the DbContext in your repository and use views over this DbContext.
You can take a look at https://www.michalbialecki.com/2020/09/09/working-with-views-in-entity-framework-core-5/ or any other sample on the web.