Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
        public ConnectDatabase()
        {
            InitializeComponent();

            NewSession = new Session();
            ServerInstances = SqlServerManager.GetSqlServerInstances();
            DataContext = NewSession;
            ServerListBox.ItemsSource = ServerInstances;
        }
Ejemplo n.º 3
0
 public LogSelection(Session newSession)
 {
     InitializeComponent();
     NewSession = newSession;
     DataContext = NewSession;
 }