public AdoResourceProviderWrapper(AdoWorkBatchService workBatchService, ConnectionStringSettings connectionStringSettings) { this.workBatchService = workBatchService; this.innerResourceProvider = AdoResourceProviderFactory.Create(connectionStringSettings); }
/// <summary> /// Perform startup duties associated with this persistence service. /// <remarks> /// This implementation calls a virtual method to create a single /// <see cref="ITrackingNameResolver" /> and <see cref="IAdoValueReader" /> /// for this persistence service. /// </remarks> /// </summary> protected override void Start() { this.nameResolver = CreateNameResolver(); this.valueReader = CreateValueReader(); this.workBatchService = base.Runtime.GetService<AdoWorkBatchService>(); base.Start(); }