C# and Linq: Generating SQL Backup/Restore From Code

Posted by mdvaldosta on Stack Overflow See other posts from Stack Overflow or by mdvaldosta
Published on 2010-04-21T20:37:45Z Indexed on 2010/04/21 20:43 UTC
Read the original article Hit count: 331

Filed under:
|
|
|
|

I'm working with a C# and Linq to SQL Winforms app and needed to integrate backup and restores through the program. I used SMO and got it working pretty smoothly. The issue, however, is that the app is deployed using ClickOnce, which I like very much - but since I had to include the dll's the download size jumped from 3mb => 15mb. I know they've only got to download it once, but it also sucks for me as Visual Studio 2010 seems to upload the dll's every time and that takes a while on AT&T broadband (eh).

So, anyone have any suggestion on how I can work out an effective backup/restore solution without using SMO objects?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET