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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 08:01:24  来源:igfitidea点击:

WPF MVVM Samples with Database

wpfdatabasemvvmconnection-string

提问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 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

你可以在这里找到源代码

http://examples.oreilly.com/9780735650923-files/

http://examples.oreilly.com/9780735650923-files/