posts - 48, comments - 16, trackbacks - 4

My Links

Archives

Post Categories

Web Dev

Recover Database Schema with DBML (SqlMetal)

I upgraded SQL on my laptop and during the process managed to 'lose' my database…. Total n00b move. I couldn't recover the database file (it was over a gig and was quickly written over). Determined not to recreate the work since the last backup, I kept searching for a solution. Then it hit me; pull the database from the data context (dbml) I created with SQLMETAL. Simply call CreateDatabase(), and 'bam' database recovered. Whew!!!

Print | posted on Friday, October 17, 2008 3:52 PM | Filed Under [ Web Programming ]

kick it on DotNetKicks.com

Feedback

No comments posted yet.

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 4 and 4 and type the answer here:

Powered by: