Close

Using Views in Entity Framework

I had an issue when accessing a view via Entity Framework. After some research I found a blog that exactly described my issue: In the example there’s a view that returns the following data when called from SQL Server: Country Year TotalSales Philippines 2010 20.000000 Philippines 2011 40.000000 Now, let’s look at the generated class…