I have a stored procedure that returns a DataSet.This stored procedure is exposed in my C# code via an Entity Data Model. How do I get the DataSet in my code? The context keeps trying to automatically generate a strongly-typed set of objects. However, those objects only represent the first result set. My DataSet has 4 result sets in it. Here is the code I'm using:
using (DBDataContext context = new DBDataContext())
{
var myDataSet = context.LoadData(); // Load data is the name of my sproc
// how do I get a DataSet here?
}
How do I get a DataSet via LINQ-to-SQL, or LINQ-to-EntityDataModel, or whatever it is called?
Thank you very much for your help