コード例 #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);
 }
コード例 #2
0
        public ConnectDatabase()
        {
            InitializeComponent();

            NewSession = new Session();
            ServerInstances = SqlServerManager.GetSqlServerInstances();
            DataContext = NewSession;
            ServerListBox.ItemsSource = ServerInstances;
        }
コード例 #3
0
 public LogSelection(Session newSession)
 {
     InitializeComponent();
     NewSession = newSession;
     DataContext = NewSession;
 }