哪个更好,Code first还是数据库第一? [英] Which is better, Code first or database first?

查看:154
本文介绍了哪个更好,Code first还是数据库第一?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在尝试使用WPF,MVVM,Prism,EF,SQL Server和可能的WCF开发应用程序来执行数据库操作。这是一个学习如何实现Prism的项目,是一个我将用来跟踪我的电影收藏的应用程序。哪种方法是更好的选择,首先是代码还是数据库第一?你也可以提供一个例子的路径,这样我就可以看到它将如何实现?



谢谢你,

Rob

Hello,
I am trying to develop an app utilizing WPF, MVVM, Prism, EF, SQL Server, and possibly WCF to perform database operations. This is a project to learn how to implement Prism and is an app I am going to use to keep track of my movie collection. Which approach would be the better choice, code first or database first? Also could you please provide a path to an example so I can see how it would be implemented?

Thank you,
Rob

推荐答案

嗯...我决定发表评论作为答案;)



从这里开始:< a href =http://msdn.microsoft.com/en-us/library/gg406140.aspxtarget =_ blank>用于WPF的Microsoft Prism Library 5.0开发人员指南



BTW:我不知道哪个最好(代码优先或数据库优先),因为我认为它不具有可比性......
Hmmm... i decided to post my comment as an answer ;)

Start here: Developer's Guide to Microsoft Prism Library 5.0 for WPF

BTW: i have no idea which is best (code first or database first), because i i think it's not comparable...


这篇关于哪个更好,Code first还是数据库第一?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆