Solved

calling VIEW using enttiy framework

Posted on 2012-03-25
3
306 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 49

Accepted Solution

by:
Gustav Brock earned 500 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 49

Expert Comment

by:Gustav Brock
ID: 37762951
You are welcome!

/gustav
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

786 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