how to backup/restore from database with using entity framework ?
如何使用实体框架从数据库备份/恢复?
Is it possible with entity framework 4.0 ?
是否可以使用实体框架4.0?
I am using the c#4.0 and wpf and EF4.0
我使用的是c#4.0和wpf以及EF4.0
1 个解决方案
#1
0
Assuming you have SQL Express, and thus no SQL Agent. Maybe that is the reason you want to export using Entity Framework? You can always do it with SQL
假设你有SQL Express,因此没有SQL Agent。也许这就是您想要使用Entity Framework导出的原因?你总是可以用SQL做到这一点
I just found a link which explains how you can do it, but until now it is just all based on the fact that i think you don't have an SQL Agent and you want to make backups.
我刚刚找到了一个链接,解释了如何做到这一点,但直到现在它只是基于我认为你没有SQL代理并且你想要进行备份这一事实。
http://www.winblogs.net/index.php/2009/11/22/automating-backup-of-databases-in-sql-20052008-express/
PS: This question has been asked before, in another way, take a look at the following answer https://*.com/a/9184833/578552
PS:之前已经问过这个问题,换句话说,请看下面的答案https://*.com/a/9184833/578552
#1
0
Assuming you have SQL Express, and thus no SQL Agent. Maybe that is the reason you want to export using Entity Framework? You can always do it with SQL
假设你有SQL Express,因此没有SQL Agent。也许这就是您想要使用Entity Framework导出的原因?你总是可以用SQL做到这一点
I just found a link which explains how you can do it, but until now it is just all based on the fact that i think you don't have an SQL Agent and you want to make backups.
我刚刚找到了一个链接,解释了如何做到这一点,但直到现在它只是基于我认为你没有SQL代理并且你想要进行备份这一事实。
http://www.winblogs.net/index.php/2009/11/22/automating-backup-of-databases-in-sql-20052008-express/
PS: This question has been asked before, in another way, take a look at the following answer https://*.com/a/9184833/578552
PS:之前已经问过这个问题,换句话说,请看下面的答案https://*.com/a/9184833/578552