For some reason my DataContext is not showing all the normal methods like SubmitChanges() etc in the intellisense.
It also won't compile if I type in db.SubmitChanges();
Any idea what I开发者_Python百科'm doing wrong? Normally I don't have this issue, I have several other projects that work fine...
Image of what I'm talking about:
Your linq to sql dbml file might be corrupt or someone might have changed/deleted the code behind file. Try creating a new linq to sql dbml with a new context NeebitDBContext2. See if you get submitchanges.
精彩评论