Closed abe545 closed 8 years ago
This is easy to demonstrate:
Throws as expected:
Task<IEnumerable<int>> t = db.ExecuteAsync().usp_DoUknownStoredProcedure();
Does not throw:
Task t = db.ExecuteAsync().usp_DoUknownStoredProcedure();
The same behavior is exhibited with await: Throws as expected:
IEnumerable<int> r = await db.ExecuteAsync().usp_DoUknownStoredProcedure();
await db.ExecuteAsync().usp_DoUknownStoredProcedure();
This is easy to demonstrate:
Throws as expected:
Does not throw:
The same behavior is exhibited with await: Throws as expected:
Does not throw: