public void Edit(ForeignKey obj) { if (this._currentType == obj.GetType()) return; BindGrid(obj.GlobalProperties); this._currentType = obj.GetType(); }
internal void AddForeignKey(ForeignKey fk) { IForeignKey exists = this[fk.Name]; if(null == exists) { this._array.Add(fk); } }
protected internal virtual void AddForeignKey(ForeignKey fk) { if(null == _foreignKeys) { _foreignKeys = (ForeignKeys)this.dbRoot.ClassFactory.CreateForeignKeys(); _foreignKeys.dbRoot = this.dbRoot; } this._foreignKeys.AddForeignKey(fk); }
public void Edit(ForeignKey obj) { BindGrid(obj.GlobalProperties); }