Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# Portable Class Library - How do you include System.Data.Linq

Is it possible to reference the System.Data.Linq in a Portable Class Library project?

Note: I am just trying to share code between a WP8 and WinStore8 app [DataContext]

like image 823
Tawani Avatar asked Apr 01 '13 23:04

Tawani


1 Answers

No it is not. The Data namespace is unavailable in PCLs.

You can tell because http://msdn.microsoft.com/en-us/library/system.data.aspx none of its members have the PCL icon, and it is not listed on http://msdn.microsoft.com/en-us/library/vstudio/gg597391%28v=vs.100%29.aspx

like image 101
Rob G Avatar answered Sep 20 '22 17:09

Rob G