Wednesday, January 19, 2011

Refreshing generated Linq to SQL code using stored procedures

When using Linq to SQL with stored procedures, what is the best way to re-generate the C# code generated by Visual Studio?

For example, when adding a column to your SP's result set and need to have Visual Studio re-create the class describing the result set, I'd expect to open the DBML designer, right-click the SP in question, and select Refresh from the context menu. But there's no such option...

0 comments:

Post a Comment