markrendle / Simple.Data

A light-weight, dynamic data access component for C# 4.0
MIT License
1.33k stars 303 forks source link

dbo.GetAwaiter() error when Running from command line #367

Closed mikepc closed 9 years ago

mikepc commented 9 years ago

For some reason, when something is awaited deep in the call stack when running from a command line app, simple.data is throwing an AggregationException saying that Column dbo.GetAwaiter() is not found.

I am able to await one call deep, but for some reason it won't await multiple tasks in the call stack when using the t.Wait() in a command line app main function.

mikepc commented 9 years ago

lol just realized I had the wrong version referenced