LINQ TO SQL Designer not updating Codefile Fix

I’m not sure exactly what leads to this issue, but in 2008 SP1 the designer doesn’t always update the codefile after dragging from Server Explorer.

I found the solution in this forum:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3738879&SiteID=1

Hit F7 from the designer and move (or add) the “using System;” statement inside of the namespace declaration of the partial class.