/// <summary>
 /// Create multi threading mapper
 /// </summary>
 /// <param name="manager"></param>
 /// <param name="sourceDatabase"></param>
 /// <param name="destinationDatabase"></param>
 /// <param name="databaseSentinel"></param>
 /// <param name="maxThread"></param>
 /// <param name="minTaskForThread"></param>
 public MultiThreadManager(MappingManager manager,
                           SourceDatabase sourceDatabase,
                           DestinationDatabase destinationDatabase,
                           DatabaseSentinel databaseSentinel, 
                           int maxThread,
                           int minTaskForThread)
 {
     this._manager = manager;
     this._sourceDatabase = sourceDatabase;
     this._destinationDatabase = destinationDatabase;
     this._databaseSentinel = databaseSentinel;
     this._maxSubThread = maxThread;
     this._minTaskForThread = minTaskForThread;
     this._locker = new object();
 }
 /// <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;
 }