Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

Getting data from Stored procedure that returns multiple result sets using Entity Framework in MVC

$
0
0

I am rebuilding a project in MVC using Entity Framework, which was originally built using web forms. One of the pages needs 'Employee Details' that are spread over 5 sub tables that a stored procedure returns. I am using Entity Framework for views. Is it possible to use the same stored procedure with EF? Can someone provide a link that explains how to do this. So far I have been able to get data from a SP that returns a single dataset. But a SP that uses multiple tables and returns multiple subsets using EF seems to want a different way. Let me know. Thanks!


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>