I have imported a stored procedure into my EF6 data model. Now I want to call that asynchronously, but it seems like EF doesn't create an Async version of the SP. Do I miss something here?
db.CallMyProcedure(param);
// vs
await db.CallMyProcedureAsync(param);
await Task.Runwill call the same synchronousCallMyProcedureon a background thread which is not the same thing as calling an asynchronous method. You may use it to offload blocking work from the calling thread though.Task.Runaround it would make it any better.