开发者

datacontext not found in vs2010 sp1

开发者 https://www.devze.com 2023-03-23 07:47 出处:网络
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.

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. Scree开发者_C百科nshot attached. Thanks in advance for your help.

datacontext not found in vs2010 sp1


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消