Harits Fadillah
Harits Fadillah

Reputation: 341

Add column in database then update the dbml

I have an application that have a dynamic table in database. The problem is, let say there's a change in table structure like addition of column, can I update the dbml file dynamically? so I don't have to fix the application everytime the column been added

Upvotes: 5

Views: 1128

Answers (1)

jessehouwing
jessehouwing

Reputation: 114471

Using the DBML and code generation approach, no there's no way to let your application take advantage of the changes automagically. The DBML results in new generated code which needs to be compiled, that requires the DSL Toolkit, Visual Studio and the .NET SDK to be present.

Upvotes: 2

Related Questions