LINQ data context does not show methods

For some reason my DataContext doesn't show all the usual methods like SubmitChanges () etc. in intellisense.

It also won't compile if I type db.SubmitChanges ();

Any idea what I am doing wrong? I usually don't have this problem, I have several other projects that work great ...

Image of what I am saying:

alt text

+2


a source to share


1 answer


Your linq to sql dbml file might be corrupted or someone might change / delete the code behind the file. Try to create a new linq for sql dbml with new NeebitDBContext2 context. See if you get subordinates.



+2


a source







All Articles