Exemplo n.º 1
0
 public void Add(IRootTable table, IList<long> rowSet)
 {
     RawTableElement elem = new RawTableElement();
     elem.Table = table;
     elem.RowSet = rowSet;
     rawInfo.Add(elem);
 }
Exemplo n.º 2
0
 public virtual bool Equals(IRootTable other)
 {
     if (other is RootTable) {
         RootTable dest = (RootTable)other;
         return (TableInfo.Name.Equals(dest.TableInfo.Name));
     }
     return (this == other);
 }
Exemplo n.º 3
0
        public bool TypeEquals(IRootTable other)
        {
            if (other is RootTable) {
                return IsSameTable((RootTable) other);
            }

            return this == other;
        }
Exemplo n.º 4
0
 /// <inheritdoc/>
 public bool Equals(IRootTable table)
 {
     if (table is DataTableBase) {
         DataTableBase dest = (DataTableBase)table;
         return (TableName.Equals(dest.TableName));
     }
     return (this == table);
 }
Exemplo n.º 5
0
        public void Add(IRootTable table, IList <long> rowSet)
        {
            RawTableElement elem = new RawTableElement();

            elem.Table  = table;
            elem.RowSet = rowSet;
            rawInfo.Add(elem);
        }
Exemplo n.º 6
0
        internal static RawTableInfo GetRawTableInfo(this IRootTable table, RawTableInfo rootInfo)
        {
            var rows = table.Select(x => x.Number).ToBigList();

            rootInfo.Add(table, rows);

            return(rootInfo);
        }
Exemplo n.º 7
0
 /// <inheritdoc/>
 public bool Equals(IRootTable table)
 {
     if (table is DataTableBase)
     {
         DataTableBase dest = (DataTableBase)table;
         return(TableName.Equals(dest.TableName));
     }
     return(this == table);
 }
Exemplo n.º 8
0
 public virtual bool Equals(IRootTable other)
 {
     if (other is RootTable)
     {
         RootTable dest = (RootTable)other;
         return(TableInfo.Name.Equals(dest.TableInfo.Name));
     }
     return(this == other);
 }
Exemplo n.º 9
0
        public bool TypeEquals(IRootTable other)
        {
            if (other is RootTable)
            {
                return(IsSameTable((RootTable)other));
            }

            return(this == other);
        }
Exemplo n.º 10
0
 public bool TypeEquals(IRootTable other)
 {
     return this == other;
 }
Exemplo n.º 11
0
 public RawTableItem(IRootTable table)
     : this(table, new BigList <long>(0))
 {
 }
Exemplo n.º 12
0
 public bool TypeEquals(IRootTable other)
 {
     return(this == other);
 }
Exemplo n.º 13
0
 public RawTableItem(IRootTable table, BigList <long> rows)
 {
     Table = table;
     Rows  = rows;
 }
Exemplo n.º 14
0
 public void Add(IRootTable table, BigList <long> rowSet)
 {
     tableItems.Add(new RawTableItem(table, rowSet));
 }
Exemplo n.º 15
0
 public void Add(IRootTable table, IList <int> rowSet)
 {
     tableItems.Add(new RawTableItem(table, rowSet));
 }
Exemplo n.º 16
0
 public RawTableItem(IRootTable table, IList <int> rows)
 {
     Table = table;
     Rows  = new List <int>(rows);
 }
Exemplo n.º 17
0
 public RawTableItem(IRootTable table)
     : this(table, new List <int>())
 {
 }
Exemplo n.º 18
0
 bool IRootTable.TypeEquals(IRootTable other)
 {
     return(this == other);
 }
Exemplo n.º 19
0
 public bool TypeEquals(IRootTable other)
 {
     return other == this;
 }
Exemplo n.º 20
0
 public bool TypeEquals(IRootTable other)
 {
     return(other == this);
 }
Exemplo n.º 21
0
 bool IRootTable.TypeEquals(IRootTable other)
 {
     return this == other;
 }
Exemplo n.º 22
0
 /// <inheritdoc/>
 bool IEquatable <IRootTable> .Equals(IRootTable table)
 {
     return(this == table);
 }
Exemplo n.º 23
0
        // ---------- Implemented from IRootTable ----------

        /// <inheritdoc/>
        public bool Equals(IRootTable table)
        {
            return(this == table);
            //    return true;
        }
Exemplo n.º 24
0
 // ---------- Implemented from IRootTable ----------
 /// <inheritdoc/>
 public bool Equals(IRootTable table)
 {
     return (this == table);
 }