如何从一个数据库复制结构和数据,并使用Entity Framework在另一个服务器中创建相同的数据库 [英] How to copy the structure and data from one Database and create the same in another server using Entity Framework
本文介绍了如何从一个数据库复制结构和数据,并使用Entity Framework在另一个服务器中创建相同的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何从server_1复制一个数据库中的结构和数据,并使用Entity Framework在server_2中创建相同的数据。
谢谢和问候,
Mathi
解决方案
看看在这里:使用实体框架克隆实体对象和所有相关的孩子 [ ^ ]
但我建议你使用复制数据库向导 [ ^ ]
Hi,
How to copy the structure and data from one Database from server_1 and create the same in server_2 using Entity Framework.
Thanks & Regards,
Mathi
解决方案
Have a look here: Cloning the Entity object and all related children using the Entity Framework[^]
But i would suggest you to Use the Copy Database Wizard[^].
这篇关于如何从一个数据库复制结构和数据,并使用Entity Framework在另一个服务器中创建相同的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文