I have the DBML file of a database and would like to generate an SQL database file from this file.
Thanks
Advertisement
Answer
There’s a method on the Data Context called CreateDatabase() that you could use.
http://msdn.microsoft.com/en-us/library/system.data.linq.datacontext.createdatabase.aspx