Hi Team,
I am facing de-serialization problems in using Microsoft.Xrm.Sdk dll in WCF service.
while generating the client side proxy class, All the derived types of type (DataCollection<TKey, TValue>) is changed to a different namespace and type as mentioed below.
In DLL
public sealed class AttributeCollection : Microsoft.Xrm.Sdk.DataCollection<string,object>
Member of Microsoft.Xrm.Sdk
In Proxy Using (SvcUtil)
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.CollectionDataContractAttribute(Name="AttributeCollection", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts", ItemName="KeyValuePairOfstringanyType")]
[System.SerializableAttribute()]
public class AttributeCollection : System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<string, object>> {
}
Regards,
Ranjith