/// <summary> /// Create an <see cref="IResourceProvider" /> that provides /// resources necessary for manipulating the underlying tracking store. /// </summary> /// <remarks> /// The resource provider is created once upon Start of the /// tracking service. /// </remarks> protected override IResourceProvider CreateResourceProvider() { if (workBatchService != null) { return(workBatchService.CreateResourceProvider(connectionStringSettings)); } return(AdoResourceProviderFactory.Create(connectionStringSettings)); }
/// <summary> /// Create an <see cref="IResourceProvider" /> that provides /// resources necessary for manipulating the underlying tracking store. /// </summary> /// <remarks> /// The resource provider is created once upon Start of the /// tracking service. /// </remarks> protected override IResourceProvider CreateResourceProvider() { return(AdoResourceProviderFactory.Create(_connectionStringSettings)); }
public AdoResourceProviderWrapper(AdoWorkBatchService workBatchService, ConnectionStringSettings connectionStringSettings) { this.workBatchService = workBatchService; this.innerResourceProvider = AdoResourceProviderFactory.Create(connectionStringSettings); }