Sync LINQ-to-SQL DBML schema with SQL Server database
Posted
by Maxim Z.
on Stack Overflow
See other posts from Stack Overflow
or by Maxim Z.
Published on 2010-05-26T21:39:56Z
Indexed on
2010/05/26
21:41 UTC
Read the original article
Hit count: 524
After creating a SQL Server 2008 database, I made a Linq-to-SQL schema in Visual Studio. Next, in the .dbml
visual editor (in Visual Studio), I added PK-to-FK and PK-to-PK associations to the schema.
How do I copy those associations that I created in Visual Studio over to the database? In other words, how do I sync with the DB?
© Stack Overflow or respective owner