Sunrise

Sunrise
Sunrise

Tuesday, November 20, 2007

Linq to SQL - regenerating the dbml file

I have a frustration with the way that the Linq designer needs to be refreshed manually everytime a database field changes. It destroys any other manual work that's been put into the data structure such as setting the Auto Generated Value or changing the way that properties are get or set. Maybe the next version of VS will have some sort of 'refresh schema' button that will check back with the database and display the differences with your Linq schema and allow a merging of changes.