/// <summary>
        /// Configure EntityDataActualizer before execution.
        /// </summary>
        /// <param name="userConnection">instance. </param>
        private void ConfigureEntityDataActualizer(UserConnection userConnection)
        {
            var entityDataContext = new EntityActualizatorDataContext(userConnection);
            var dataExtractor     = new PartnershipCertifiedContactsDataExtractor(userConnection);

            _entityDataActualizer = new EntityDataActualizer(userConnection, dataExtractor, entityDataContext);
        }
Пример #2
0
 /// <summary>
 /// Initialize EntityDataActualizer.
 /// </summary>
 /// <param name="userConnection">UserConnection instance.</param>
 /// <param name="dataExtractor">EntityDataExtractor instance for dataset extraction.</param>
 /// <param name="entityDataContext">EntityActualizatorDataContext instance for dataset apply.</param>
 public EntityDataActualizer(
     UserConnection userConnection,
     EntityDataExtractor dataExtractor,
     EntityActualizatorDataContext entityDataContext)
 {
     _userConnection    = userConnection;
     _dataExtractor     = dataExtractor;
     _entityDataContext = entityDataContext;
 }