Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

calling VIEW using enttiy framework

Posted on 2012-03-25
3
Medium Priority
?
322 Views
Last Modified: 2012-03-25
Guys,

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

Tks
0
Comment
Question by:Mortarello
  • 2
3 Comments
 
LVL 52

Accepted Solution

by:
Gustav Brock earned 2000 total points
ID: 37762911
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
 

Author Closing Comment

by:Mortarello
ID: 37762932
Tks man
0
 
LVL 52

Expert Comment

by:Gustav Brock
ID: 37762951
You are welcome!

/gustav
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Integration Management Part 2
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question