Пример #1
0
 public CreateClauseDialog(IServiceProvider provider, Database database, IDictionary filters, string defaultTableName)
     : base(provider)
 {
     this._filters = filters;
     this._defaultTableName = defaultTableName;
     this.InitializeComponent();
     this._database = database;
     foreach (Table table in (IEnumerable) this._database.Tables)
     {
         this._leftTableComboBox.Items.Add(new TableListItem(table));
         this._rightTableComboBox.Items.Add(new TableListItem(table));
     }
 }
Пример #2
0
 protected override void OnVisibleChanged(EventArgs e)
 {
     base.OnVisibleChanged(e);
     if (base.Visible && (this.Database != this._database))
     {
         this._database = this.Database;
         this._tableListBox.Items.Clear();
         foreach (Table table in (IEnumerable) this.Database.Tables)
         {
             this._tableListBox.Items.Add(new TableListItem(table));
         }
         if (this._tableListBox.Items.Count > 0)
         {
             this._tableListBox.SelectedIndex = 0;
         }
     }
 }
Пример #3
0
 public DatabaseProject(IProjectFactory factory, IServiceProvider serviceProvider, Microsoft.Matrix.Packages.DBAdmin.DBEngine.Database database)
     : base(factory, serviceProvider)
 {
     this._database = database;
 }
Пример #4
0
 private DatabaseProject CreateProject(Database database)
 {
     return new AccessDatabaseProject(this, this._serviceProvider, (AccessDatabase) database);
 }
Пример #5
0
 public StoredProcedureCollection(Database database)
     : base(database)
 {
 }
Пример #6
0
 public Table(Database database)
     : base(database)
 {
 }
Пример #7
0
 public DatabaseItem(Microsoft.Matrix.Packages.DBAdmin.DBEngine.Database database)
 {
     this._database = database;
 }
Пример #8
0
 public AccessTable(Database database)
     : base(database)
 {
 }
Пример #9
0
 public TableCollection(Database database)
     : base(database)
 {
 }
Пример #10
0
 public StoredProcedure(Database database)
     : base(database)
 {
 }