none
Weird Linq to SQL problem RRS feed

  • Question

  • I created a new ASP.net project.  Added a Linq to SQL class and copied in some code from another project that works fine.  Nothing is showing up in my data context class except the four tables I added, i.e., no other methods, properties, etc.  I thought maybe something was wrong with intellisense but when I tried to compile the code with a line that invoked the Dispose () method, I get an error.  I looked at the generated data context class and it is inheriting from System.Data.Linq.DataContext.

    Any ideas???

    Wednesday, November 4, 2009 4:19 PM

Answers

  • I fixed the problem.  I had to manually add System.Data.Linq to the assemblies in web.config.

    Thanks.


    Wednesday, November 4, 2009 5:10 PM

All replies