예제 #1
0
        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);
            }
        }
예제 #2
0
        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();
        }