/// <summary>Initializes the query with the reference to the browser tree</summary> /// <param name="Browser">ViewModel of the browser tree</param> public QueryViewModel(ref ServerBrowserViewModel Browser) { _dab = DataAccessFactory.GetDataAccess( Browser.ActiveConnection.ConnectionType, Browser.ActiveConnection.DataSource, Browser.ActiveConnection.SelectedDatabase, Browser.ActiveConnection.Authentication, Browser.ActiveConnection.Username, Browser.ActiveConnection.Password ); _dab.BuildKeywords(); _browser = Browser; }