public DbObjectScripter(string connectionString, Options options, IUpgradeLog log) { m_connectionBuilder = new SqlConnectionStringBuilder(connectionString); m_options = options; m_log = log; var exePath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); m_definitionDirectory = Path.GetFullPath(Path.Combine(exePath, m_options.BaseFolderNameDefinitions)).Normalize(); EnsureDirectoryExists(m_definitionDirectory); }
public ScriptingUpgrader(UpgradeEngine engine, Options options) { m_engine = engine; m_options = options; }