dbml file - create database

11,863

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

Share:
11,863
user1297726
Author by

user1297726

Updated on June 04, 2022

Comments

  • user1297726
    user1297726 almost 2 years

    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 how to it. Do I have to create DataContext in the BA.cs file.

    It might be redundant post, I am sorry for that.