Esempio n. 1
0
		/// <summary>Removes the column from this table and removes all associated relations.</summary>
		public virtual void RemoveColumn(CsDbArcColumn column)
		{
			if (column.Owner != this)
				throw new InvalidOperationException("the column does not belong to the table.");
			column.SetRemoved();
			_columns.Remove(column);
		}
Esempio n. 2
0
		/// <summary>Creates a new associated column.</summary>
		public CsDbArcColumn CreateColumn()
		{
			var rv = new CsDbArcColumn(this);
			_columns.Add(rv);
			return rv;
		}