I have corrupted an entire database and I have no access to it or backups. Is there a way to recreate the structure of it using a .dbml from visual studio project? Thank you in advance.
Asked
Active
Viewed 1,398 times
1 Answers
3
I found the solution. These lines of code would create the entire database structure:
MyDBMLDataContext con = new MyDBMLDataContext(); con.CreateDatabase();

AJ GS
- 37
- 7