Solved

calling VIEW using enttiy framework

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now