How to create SQL Database from Linq2Sql Model
linq, linq-to-sql, sql
Solution
Are you looking for something like this
How to: Dynamically Create a Database (LINQ to SQL)
YourDataContext db = new YourDataContext ("C:\\YourDB.mdf");
db.CreateDatabase();
Problem
Is it possible to create a SQL DB from a Linq2Sql model? I managed to lose a DB for something I started building a year ago, but have the Linq2Sql model. If this is possible, what are the steps?