开发者

Async Calls to Entity Framework

Anyo开发者_如何学Gone found a good way to make asynchronous calls to the db via entity framework? Use background worker thread? This is a WPF application.

I know in RIA services there is a loadcompleted event that does not seem to exist in entity framework's object context.

Thanks!


I've written a blog post about async calls via commanding in a WPF application

http://devblog.terminto.com/2010/11/03/threading-as-command-in-mvvm/

At work I use the same technique and do calls to DB (EF4).

Is this useful, or are you asking about more entity framework-specific async methods?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜