/// <summary> /// Add a new column to the table. /// </summary> /// <param name="columndef">The column definition.</param> /// <returns>The table the column was added to.</returns> public override Table CreateColumn(ColumnDefinition columndef) { this.Tracer.TraceInfo("adding column {0} of type {1}", columndef.Name, columndef.Type); columndef.CreateColumn(this.TableCursor); // The meta-data has changed. Reload it. this.LoadMetaData(); return this; }
/// <summary> /// Add a new column to the table. /// </summary> /// <param name="columndef">The column definition.</param> /// <returns>The table the column was added to.</returns> public override Table CreateColumn(ColumnDefinition columndef) { this.Tracer.TraceInfo("adding column {0} of type {1}", columndef.Name, columndef.Type); columndef.CreateColumn(this.TableCursor); // The meta-data has changed. Reload it. this.LoadMetaData(); return(this); }