public void PerformUpdate(string dataSource, string databaseName, Assembly assembly, bool LeaveConsoleOpen = false)
        {
            var dataSourceCS = ConnectionStringLight.GetSqlDataSourceConnectionString(dataSource);

            CreateSQLDB(databaseName, dataSourceCS);

            string connectionString = ConnectionStringLight.GetSqlServerConnectionString(dataSource, databaseName);

            CreateAdminSchema(connectionString);
            UpdateDatabase(assembly, connectionString, LeaveConsoleOpen);
        }
 /// <summary>
 /// Returns connection string with datasource and database name
 /// Example: Data Source=.\sqlServerInstance;Initial Catalog=DatabaseName;Integrated Security=True
 /// </summary>
 /// <param name="datasource"></param>
 /// <param name="databaseName"></param>
 /// <returns></returns>
 public static string GetSqlServerConnectionString(string datasource, string databaseName)
 {
     return(ConnectionStringLight.GetSqlServerConnectionString(datasource, databaseName));
 }
 /// <summary>
 /// Returns connection string only with sql server name. Used for creating new database.
 /// Example: Data Source=.\sqlServerInstance;Integrated Security=True
 /// </summary>
 /// <param name="dataSource"></param>
 /// <returns></returns>
 public static string GetSqlDataSourceConnectionString(string dataSource)
 {
     return(ConnectionStringLight.GetSqlDataSourceConnectionString(dataSource));
 }