You can not use SqlClient
in PCL projects because it is not built as a PCL and it is not cross platform. The Data
namespace is unavailable in PCL projects and it is not listed here.
The following assemblies are available within a Portable Class Library project:
mscorlib.dll
System.dll
System.Core.dll
System.Xml.dll
System.ComponentModel.Composition.dll
System.Net.dll
System.Runtime.Serialization.dll
System.ServiceModel.dll
System.Xml.Serialization.dll
System.Windows.dll (from Silverlight)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…