Updating dbml files
Last week I got a question from a colleague about Linq to SQL.He couldn’t find a way to update the Linq to SQL DBML file so it reflects the changes he made to the underlying database model. Note The feedback system for this content will be changing soon. If content within a comment thread is important to you, please save a copy.For more information on the upcoming change, we invite you to read our blog post.The Update Model Wizard also makes some changes to the conceptual model and mappings, but it only makes these changes when objects are added to the database.For example, new entity types are added to the conceptual model when tables are added to the database, and new properties are added to entity types when columns are added to a table.
The Update Model Wizard does the following: The conceptual model will be updated only for objects that are added to the database.
You'll be able to see exactly when it has a fresh version by looking whether the newly generated file contains the new parameter.