Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public QsiDataTable(QsiTableStructure table)
 {
     Table = table ?? throw new ArgumentNullException(nameof(table));
     Rows  = new QsiDataRowCollection(table.Columns.Count);
 }