views:

729

answers:

1

Due to a harddrive crash, I lost my SQL server database files for a project I was creating.

I still have my DBML files I used in my .NET project, so I still have the database structure in a file.

Is it possible to export my DBML somehow to a SQL server script, to recreate my databases in SQL server.

+3  A: 

How to: Dynamically Create a Database (LINQ to SQL)

http://msdn.microsoft.com/en-us/library/bb399420.aspx

Bryan Watts