public dbRoot CurrentDbRoot() { dbRoot mymeta = null; try { mymeta = _mdi.PerformMdiFuntion(this.Parent as IMyGenContent, "getstaticdbroot") as dbRoot; _isUsingCurrentConnection = true; if (!(mymeta is dbRoot)) { mymeta = new dbRoot(); mymeta.Connect(DbDriver, ConnectionString); _isUsingCurrentConnection = false; } } catch (Exception ex) { this._mdi.ErrorList.AddErrors(ex); } return(mymeta); }
public string ShowOLEDBDialog(string cs) { return(mdi.PerformMdiFuntion(this, "ShowOLEDBDialog", cs) as String); }