mehdime / DbContextScope

A simple and flexible way to manage your Entity Framework DbContext instances
http://mehdi.me/ambient-dbcontext-in-ef6/
MIT License
634 stars 271 forks source link

Fix deadlock opportunity #9

Closed patroza closed 9 years ago

patroza commented 9 years ago

I ran into a deadlock situation here because of missing await configuration. If I remember correctly it was related to using .Wait() or .Result.

mehdime commented 9 years ago

Thanks @sickboy !