Entity Framework Generated SQL for Entity Mapped to a View?

Look at your . EDMX file using an XML Editor. You will find something there for the movie view where it has a select statement for the view.

Remove the select statement and make the rest of the view XML look more like your tables. You are getting this inner select because EF things naively that you are trying to map the columns to different names in the view rather than the default names.

I got this answer from MSDN forums and it makes perfect sense.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions