Reputation: 8225
I am starting to learn some linq and there is a place where I need to use datacontent, but it seems that the IntelliSense can't found any datacontent.
Am I missing something?
I am running VS2010 SP1.
Screenshot attached.
Thanks in advance for your help.
Upvotes: 1
Views: 1016
Reputation: 565
DataContext
is defined in the System.Data.Linq
namespace, which you don't have in your using statements. Make sure the System.Data.Linq
assembly is referenced, then add that using statement.
Upvotes: 2