I am trying to create a database using BA.dbml file (Linq to Sql). I know I have to create DataContext and create the database. But I don\'t know
BA.dbml
DataContext
See these blog posts showing how to create dbml file and then create database from that dbml file.
http://weblogs.asp.net/ashicmahtab/archive/2008/11/21/linq-to-sql-dbml-more-than-just-for-accessing-a-db.aspx
http://msdn.microsoft.com/en-us/library/bb399420.aspx