how to backup/restore from database with using entity framework ?
Is it possible with entity framework 4.0 ?
I am using the c#4.0 and wpf and EF4.0
how to backup/restore from database with using entity framework ?
Is it possible with entity framework 4.0 ?
I am using the c#4.0 and wpf and EF4.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
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.
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://stackoverflow.com/a/9184833/578552