Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 325
  • Last Modified:

calling VIEW using enttiy framework

Guys,

Does someone could help me how to call a view on SQL using entiy Fframework ?

Tks
0
Mortarello
Asked:
Mortarello
  • 2
1 Solution
 
Gustav BrockCIOCommented:
In the model browser, right-click Entity Types of your model, select Update model from database.
The update wizard opens. Mark the view to use and click Finish.
Now you can use the view as a table in EF and LINQ.

/gustav
0
 
MortarelloAuthor Commented:
Tks man
0
 
Gustav BrockCIOCommented:
You are welcome!

/gustav
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now