title: Using Microsoft.Xrm.Tooling to create a service and context
body: <p>I am now updating an integration program written for Dynamics 2015 in order to support Dynamics 365. At the moment it uses the Microsoft.Xrm.Client dll methods to create an organization service context. Is there an equivalent to Microsoft.Xrm.Tooling as Microsoft.Xrm.Client seems unsupported.</p>
  
  <pre><code> var getCRMOrgService = CreateCRMOrgService(logger);
              var client = CreatePosPerfectConnection(logger);
  
              if (getCRMOrgService != null)
              {
                  using (var ctx = new DataContext(new CrmOrganizationServiceContext(getCRMOrgService)))
                  {
                      ctx.TryAccessCache(cache =&gt; cache.Mode = OrganizationServiceCacheMode.Disabled);
  /******Rest of the code******/
  </code></pre>
  
  <p>Here I require to change the CreateCRMOrgService and CrmOrganizationServiceContext Methods to the ones supported by Microsoft.Xrm.Tooling alone</p>