Paul Brown
Paul Brown

Reputation: 5016

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?

Upvotes: 5

Views: 2950

Answers (1)

Jakub Konecki
Jakub Konecki

Reputation: 46008

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

Upvotes: 5

Related Questions