public QsiTableStructure Clone()
        {
            var table = new QsiTableStructure
            {
                Type       = Type,
                Identifier = Identifier,
                IsSystem   = IsSystem
            };

            table.References.AddRange(References);
            table._columns.AddRange(_columns.Select(c => c.CloneInternal()));

            return(table);
        }
Beispiel #2
0
 public QsiDataTable(QsiTableStructure table)
 {
     Table = table ?? throw new ArgumentNullException(nameof(table));
     Rows  = new QsiDataRowCollection(table.Columns.Count);
 }