Ad

Refreshing A DBML Diagram?

- 1 answer

Really stupid question, sorry, but I can't find it on google (I'm sure it's in a screencast or something somewhere). I have a DBML (linq2sql classes) diagram and I've changed the underlying database. In VS2008, how do I "refresh" the diagram? There's no View-->Refresh or RightClick->Refresh or Update option.

As it stands now, I have to recreate the entire linq2sql classes every time I update the underlying db.

Ad

Answer

right click and select "run custom tool" (in solution explorer on dbml file)

Ad
source: stackoverflow.com
Ad