public void SwapLine(ColumnLine target) { for (int i = 0; i < Rows.Count; i++) { var tmpVal = target.Rows[i].get(); target.Rows[i].set(Rows[i].get()); Rows[i].set(tmpVal); } }
public Column(string columnName, DataType dataType, DataOptions[] dataOptions, XElement element, Table parent) { this.columnName = columnName; this.dataType = dataType; this.dataOptions = dataOptions; this.xElement = element; this.parentTable = parent; columnLine = new ColumnLine(); }