database 带数据库的 WPF MVVM 示例
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4756277/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
WPF MVVM Samples with Database
提问by Velu
What examples exist of Windows Presentation Foundation (WPF) Model View ViewModel (MVVM) that include sample database connections?
包含示例数据库连接的 Windows Presentation Foundation (WPF) 模型视图视图模型 (MVVM) 有哪些示例?
采纳答案by jbe
The BookLibrary(WPF MVVM) sample application of the WPF Application Framework (WAF)uses the Entity Framework in combination with a SQL CE database.
WPF 应用程序框架 (WAF)的BookLibrary(WPF MVVM) 示例应用程序将实体框架与 SQL CE 数据库结合使用。
回答by Botz3000
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/
http://www.codeproject.com/KB/WPF/WPF_MVVM_DB_Access.aspx
http://karlshifflett.wordpress.com/mvvm/wpf-line-of-business-introduction/
or just this:
或者只是这个:
回答by Mahesh
I would recommend Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern publish by Microsoft.
我建议使用 Windows Presentation Foundation 和 Microsoft 发布的模型视图视图模型模式构建企业应用程序。
http://shop.oreilly.com/product/0790145309686.do#tab_04_0
http://shop.oreilly.com/product/0790145309686.do#tab_04_0
you can find the source code here
你可以在这里找到源代码