/// <summary> /// Create auto mapper thread /// </summary> /// <param name="manager"></param> /// <param name="multiThreadMapper"></param> /// <param name="sourceDatabase"></param> /// <param name="destinationDatabase"></param> /// <param name="databaseSentinel"></param> /// <param name="sourceTableName"></param> /// <param name="destTableName"></param> /// <param name="sourceTableType"></param> /// <param name="destTableType"></param> /// <param name="manualMapping"></param> public AutoMapperThread(MappingManager manager, MultiThreadManager multiThreadMapper, SourceDatabase sourceDatabase, DestinationDatabase destinationDatabase, DatabaseSentinel databaseSentinel, string sourceTableName, string destTableName, Type sourceTableType, Type destTableType, ManualMapping manualMapping) { this._multiThreadMapper = multiThreadMapper; this._sourceDatabase = sourceDatabase; this._destinationDatabase = destinationDatabase; this._databaseSentinel = databaseSentinel; this._sourceTableName = sourceTableName; this._destTableType = destTableType; this._sourceTableType = sourceTableType; this._destTableName = destTableName; this._manualMapping = manualMapping; }
/// <summary> /// Create auto mapper thread /// </summary> /// <param name="manager"></param> /// <param name="multiThreadMapper"></param> /// <param name="sourceDatabase"></param> /// <param name="destinationDatabase"></param> /// <param name="databaseSentinel"></param> /// <param name="sourceTableName"></param> /// <param name="destTableName"></param> /// <param name="sourceTableType"></param> /// <param name="destTableType"></param> public AutoMapperThread(MappingManager manager, MultiThreadManager multiThreadMapper, SourceDatabase sourceDatabase, DestinationDatabase destinationDatabase, DatabaseSentinel databaseSentinel, string sourceTableName, string destTableName, Type sourceTableType, Type destTableType) { this._multiThreadMapper = multiThreadMapper; this._sourceDatabase = sourceDatabase; this._destinationDatabase = destinationDatabase; this._databaseSentinel = databaseSentinel; this._destTableType = destTableType; this._sourceTableType = sourceTableType; this._sourceTableName = sourceTableName; this._destTableName = destTableName; this._manualMapping = null; this._sourceDatabase = null; }