Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EF Code First & SQL Server Views

In ASP.NET MVC3, how do I display data from a SQL Server view when I am using EF Code First?

like image 976
Paul Brown Avatar asked Feb 24 '11 16:02

Paul Brown


1 Answers

Just use the name of the View as the name of the Table.

like image 96
Jakub Konecki Avatar answered Sep 29 '22 07:09

Jakub Konecki