RE: XrmServiceContext.Create
I've a copy of the old xrm.cs file
There are missing methods in the new one.
Is this a result of the upgrade to 8.2?
What I am reading tells me that Microsoft.Xrm.Sdk.IOrganizationService should give me what I require
old file
/// Represents a source of entities bound to a CRM service. It tracks and manages changes made to the retrieved entities.
/// </summary>
[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "6.0.0000.0809")]
public partial class XrmServiceContext : Microsoft.Xrm.Client.CrmOrganizationServiceContext
{
/// <summary>
/// Constructor.
/// </summary>
public XrmServiceContext()
{
}
/// <summary>
/// Constructor.
/// </summary>
public XrmServiceContext(Microsoft.Xrm.Client.CrmConnection connection) :
base(connection)
{
}
/// <summary>
/// Constructor.
/// </summary>
public XrmServiceContext(string contextName) :
base(contextName)
{
}
/// <summary>
/// Constructor.
/// </summary>
public XrmServiceContext(Microsoft.Xrm.Sdk.IOrganizationService service) :
base(service)
{
}
new file
/// <summary>
/// Represents a source of entities bound to a CRM service. It tracks and manages changes made to the retrieved entities.
/// </summary>
[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.2.1.8676")]
public partial class XrmServiceContext : Microsoft.Xrm.Sdk.Client.OrganizationServiceContext
{
/// <summary>
/// Constructor.
/// </summary>
public XrmServiceContext(Microsoft.Xrm.Sdk.IOrganizationService service) :
base(service)
{
}