public ServiceProvider(Microsoft.Xrm.Sdk.IPluginExecutionContext context, Repository.PluginExecutionFakeContext entityContext, System.Reflection.Assembly proxyType) { this.context = context; this.orgServiceFactory = new OrganizationServiceFactory(entityContext); var pp = this.orgServiceFactory as Microsoft.Xrm.Sdk.IProxyTypesAssemblyProvider; if (pp != null) { pp.ProxyTypesAssembly = proxyType; } this.traceService = new TracingService(); }
public OrganizationServiceFactory(Repository.PluginExecutionFakeContext context) { this.context = context; }
public OrganizationService(Repository.PluginExecutionFakeContext context, Guid?userid) { this.UserId = userid; this.context = context; this.shadow = (Repository.IEntityShadow)context; }