wpf - How to regenerate (update) LINQ to SQL DataContext? -
i use linq sql in wpf project. have made small changes in database (changed datatype of fields, contain no data).
now want regenerate (refresh) linq sql datacontext of project (i use vs 2008). try right-click on .dbml item in solution explorer , choose "refresh", nothing happens.
how update datacontext in visual studio 2008 wpf project?
without resorting 3rd party tools, easiest way delete modified tables designer , drag them in server explorer.
unfortunately, if you've made manual modifications in l2s designer wont preserved , you'll have manually make changes again.
huagati has tool claims able refresh changes haven't tried myself.
Comments
Post a Comment