title: .NET Core Entity Framework stored procedures
body: <p>I'm trying to port a ASP.NET 4.5 application to .NET Core and I have one real issue I can't seem to figure out. </p>
  
  <p>My existing application executes stored procs which return a dataset with multiple datatables. The Entity Framework can automatically map the returned fields to my entity properties but only works with the first datatable in the dataset (naturally).</p>
  
  <p>So I'm just trying to figure out if its at all possible to somehow intercept the model building process and use custom code to process the dataset and look into the other datatables to set entity fields.</p>
  
  <p>I know I can use the normal way of executing the stored procedure directly using the <code>SqlConnection</code> but I'm wondering if the Entity Framework has some way to do this already.</p>