public EfCoreMigrationsDialog(EFCorePowerTools.EFCorePowerToolsPackage package, string outputPath, Project project) { Telemetry.TrackPageView(nameof(EfCoreModelDialog)); InitializeComponent(); Background = VsThemes.GetWindowBackground(); _package = package; _outputPath = outputPath; _project = project; _processLauncher = new ProcessLauncher(project.IsNetCore(), project.IsNetCore21()); }
public EfCoreMigrationsDialog(EFCorePowerTools.EFCorePowerToolsPackage package, string outputPath, bool isNetCore, Project project) { Telemetry.TrackPageView(nameof(EfCoreModelDialog)); InitializeComponent(); Background = VsThemes.GetWindowBackground(); _package = package; _isNetCore = isNetCore; _outputPath = outputPath; _project = project; }
public PickServerDatabaseDialog(Dictionary <string, DatabaseInfo> serverConnections, EFCorePowerTools.EFCorePowerToolsPackage package) { _package = package; Telemetry.TrackPageView(nameof(PickServerDatabaseDialog)); InitializeComponent(); Background = VsThemes.GetWindowBackground(); comboBox1.DisplayMemberPath = "Value.Caption"; comboBox1.ItemsSource = serverConnections; if (serverConnections.Count > 0) { comboBox1.SelectedIndex = 0; } }