开发者

WPF Prism Entity Framework repository

开发者 https://www.devze.com 2023-01-08 22:11 出处:网络
I am building a WPF application using the 开发者_如何学CPRISM guidance, I want to use the Entity Framework 4 for a data repository.

I am building a WPF application using the 开发者_如何学CPRISM guidance, I want to use the Entity Framework 4 for a data repository.

I have previously developed a Silverlight app, using Prism and WCF RIA Services which worked great as all my components are decoupled.

So what is the best way of getting data in my WPF application in a decoupled way. Thanks for any advise


You might have a look at the BookLibrary sample application of the WPF Application Framework (WAF). It shows how to use the Entity Framework in a WPF MVVM application. However, it's not PRISM.

0

精彩评论

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