I'm trying to use WCF Data Services and a little confused what library should I reference to interact with WCF Data Services: Microsoft.Data.Services.Client.dll or System.Data.Services.Client.dll.
What is the difference between them? In which case should I use each of them?
When trying to add references to both of them I get a compiler error:
The type
'System.Data.Services.Client.DataServiceContext'
exists in both 'e:Program FilesWCF
Data Services Mar 2011
CTP2in.NETFrameworkMicrosoft.Data.Services.Client.dll'
and 'e:Program FilesReference
AssembliesMicrosoftFramework.NETFrameworkv4.0System.Data.Services.Client.dll'
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…