public FilterSetup(Session newSession) { InitializeComponent(); NewSession = newSession; DataContext = NewSession; UserTableDataGrid.ItemsSource = SqlServerManager.GetUserTables(NewSession.ServerName,NewSession.Authentication == "Windows Authentication",NewSession.UserName,NewSession.Password,NewSession.Database); }
public ConnectDatabase() { InitializeComponent(); NewSession = new Session(); ServerInstances = SqlServerManager.GetSqlServerInstances(); DataContext = NewSession; ServerListBox.ItemsSource = ServerInstances; }
public LogSelection(Session newSession) { InitializeComponent(); NewSession = newSession; DataContext = NewSession; }