Example #1
0
        public INode Clone()
        {
            DbObject dbObject = new DbObject((Identifier)(m_identifier.Clone()));

            if (m_next != null)
            {
                dbObject.Add((DbObject)(m_next.Clone()));
            }

            return(dbObject);
        }
Example #2
0
        public void Add(DbObject tail)
        {
            if (tail == null)
            {
                throw new ArgumentNullException("tail");
            }

            if (m_next == null)
            {
                m_next = tail;
            }
            else
            {
                m_next.Add(tail);
            }
        }