Hakan Axheim

Hakan Axheim

  • NA
  • 201
  • 31.4k

How to detect which datbase view that is used

Dec 23 2019 3:36 AM
Hi,
 
I recently began to work with an application that is developed in ASP.NET with MVC 5.
ASP.NET and MVC 5 is not my first language so I am having some problem with debugging the code.
 
When the application needs to select data from the database (SQL server) the application always uses database views. I have no problems to detect which controller, model, and views that are used by the application for a certain function in the application.
 
My problem is to know which database view that is used by a specific controller?
 
Is there anybody that can tell me how to map a controller to a database view.
I suppose that there is a common way to do that.
 

Answers (1)