public void Edit(ForeignKey obj)
        {
            if (this._currentType == obj.GetType()) return;
            BindGrid(obj.GlobalProperties);
            this._currentType = obj.GetType();
		}
예제 #2
0
		internal void AddForeignKey(ForeignKey fk)
		{
			IForeignKey exists = this[fk.Name];

			if(null == exists)
			{
				this._array.Add(fk);
			}
		}
예제 #3
0
		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);
		}