protected Column(Column original) { this.AllowNulls = original.AllowNulls; this.DataType = original.DataType; this.DefaultValue = original.DefaultValue; this.Description = original.Description; this.IsIdentity = original.IsIdentity; this.IdentityIncrement = original.IdentityIncrement; this.IdentitySeed = original.IdentitySeed; this.InPrimaryKey = original.InPrimaryKey; this.IsRowGuid = original.IsRowGuid; this.IsReadOnly = original.IsReadOnly; this.IsUniqueKey = original.IsUniqueKey; this.Name = original.Name; this.NumericPrecision = original.NumericPrecision; this.NumericScale = original.NumericScale; this.Size = original.Size; }
public ColumnListViewItem(Microsoft.Matrix.Packages.DBAdmin.DBEngine.Column column) : base(column.Name) { this._column = column; }
public ColumnListViewItem(Microsoft.Matrix.Packages.DBAdmin.DBEngine.Column column, bool readOnly) { this._column = column; this._column.IsReadOnly = readOnly; this.Refresh(); }
private Column[] GetColumns() { int count = this._columnsListView.Items.Count; Column[] columnArray = new Column[count]; for (int i = 0; i < count; i++) { columnArray[i] = ((ColumnListViewItem) this._columnsListView.Items[i]).Column; } return columnArray; }
public abstract void UpdateColumns(Column[] newColumns);
public virtual bool IsEquivalentTo(Column other) { return (((((this.AllowNulls == other.AllowNulls) && (this.DataType == other.DataType)) && ((this.IsIdentity == other.IsIdentity) && (this.IsRowGuid == other.IsRowGuid))) && (((this.Name == other.Name) && (this.NumericPrecision == other.NumericPrecision)) && (this.NumericScale == other.NumericScale))) && (this.Size == other.Size)); }
public abstract Table Add(string name, Column[] columns);
public ColumnListItem(Microsoft.Matrix.Packages.DBAdmin.DBEngine.Column column) { this._column = column; }