public bool Execute() { var showLog = _showLog.Value; var runner = DbInitProjectRunner.CreateDbInit(_project, _dbSessionProviderType, _input, null, _showLog.Value, _dte); return(ConsoleWindow.Run(_window.Title, runner.RunAsync)); }
public bool Execute() { var project = _dbSessionProvider.Value.Project; var dbSessionProvider = _dbSessionProvider.Value.TypeSymbol; project.TryGetCompilation(out var compilation); Debug.Assert(compilation != null); var input = dbSessionProvider.GetDbInitInput(compilation); var showLog = _showLog.Value; var runner = DbInitProjectRunner.CreateDbInit(project, dbSessionProvider, input, _dbInitializerType, _showLog.Value, _dte); return(ConsoleWindow.Run(_window.Title, runner.RunAsync)); }
public bool Execute() { return(ConsoleWindow.Run(_window.Title, RunAsync)); }