0

Every time I rebuild by DBML, I have to adjust settings for auto generated value etc. for individual fields.

Is there a built-in tool which I could use to automate my changes in the DBML when I build? I'm using Visual Studio 2008.

John Saunders
  • 160,644
  • 26
  • 247
  • 397
Alex
  • 75,813
  • 86
  • 255
  • 348

1 Answers1

0

I've not found anything built-in. I just use a T4 template that reads my database on builds and updates the DBML file with new columns and datatype changes - nothing else. That way, once a table is place on the DBML file, you never need to worry about losing your customizations. It's a pain, but a simple workable solution. Though I'd love to know if someone has a better (and free-as-in-$$$) idea.

mattmc3
  • 17,595
  • 7
  • 83
  • 103