Click here to Skip to main content
15,900,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a table in SQL server database. I have created a view for that table. I am using Entity Framework in my project and wish to display the data from the view.

I searched a lot but couldnt find how to display data from a view in an IEnumerable form using the Entity Framework.

Please guide me. Thanks.
Posted

How about trying this. If you have issues related to the code at this point, update the question and I'll be happy to help you further, but until you show us an error in code or something that indicates that you have put in some effort on your part, we can't really help you.
 
Share this answer
 
Comments
Wild-Programmer 24-Dec-10 14:19pm    
Actually I am not able to code it. I dont know how to take out data from the Entity Framework View. I know how to do in LINQ but in Entity Framework it is not giving IEnumerable data.
Dalek Dave 24-Dec-10 16:18pm    
Good Link.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900