/// <summary>
 /// Dispose global objects
 /// </summary>
 public void Dispose()
 {
     SQLSourceDBConnectionString = null;
     SQLTargetDBConnectionString = null;
     dbExecution = null;
 }
Esempio n. 2
0
 /// <summary>
 /// static constructor
 /// </summary>
 static CommonTableScript()
 {
     dbExecution = new DatabaseQueryExecution();
 }
 /// <summary>
 /// Constuctor with initialization for source and destination database
 /// </summary>
 /// <param name="connectionStringForSourceDB">source database connection string</param>
 /// <param name="connectionStringForTargetDB">target database connection string</param>
 public RobbinsExportServiceBusinessLayer(string connectionStringForSourceDB, string connectionStringForTargetDB)
 {
     SQLSourceDBConnectionString = connectionStringForSourceDB;
     SQLTargetDBConnectionString = connectionStringForTargetDB;
     dbExecution = new DatabaseQueryExecution();
 }