如何在mvc 5应用程序中建立两个数据库之间的关系 [英] How to establish relationship between two database in mvc 5 application
本文介绍了如何在mvc 5应用程序中建立两个数据库之间的关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们要创建一个应用程序,我们需要两个或更多db在一个应用程序中一个用于admin而另一个用于客户端DB我们正在使用实体框架,c#,mssql与mvc5如何建立两个db之间的关系?
We are going to create one application we need two or more db in one application one for admin and another for client DB we are using entity framework,c#, mssql with mvc5 how to establish relationship between two db ?
推荐答案
为什么需要单独的数据库?只需一个人就可以了,
1.学习 http:// www.datanamic.com/support/lt-dez005-introduction-db-modeling.html [ ^ ]
2.接下来,您需要实现 Identity and Security [ ^ ]
Why do you need separate databases? Just one will do,
1. Learn http://www.datanamic.com/support/lt-dez005-introduction-db-modeling.html[^]
2. Next, you need to implement Identity and Security[^]
这篇关于如何在mvc 5应用程序中建立两个数据库之间的关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文