What examples exist of Windows Presentation Foundation (WPF) Model View ViewModel (MVVM) that include sample database connections?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The BookLibrary (WPF MVVM) sample application of the WPF Application Framework (WAF) uses the Entity Framework in combination with a SQL CE database.
回答2:
you could have a look at those:
http://www.codeproject.com/KB/WPF/WPF_MVVM_DB_Access.aspx
http://karlshifflett.wordpress.com/mvvm/wpf-line-of-business-introduction/
or just this:
http://www.google.com/search?q=mvvm+database
回答3:
I would recommend Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern publish by Microsoft.
http://shop.oreilly.com/product/0790145309686.do#tab_04_0
you can find the source code here
http://examples.oreilly.com/9780735650923-files/