Beispiel #1
0
        //public virtual void NotifyChangeColumnType_RefsOnly(IColumnStructure newcol) { }

        //public bool IsFreezed { get { return m_isFreezed; } }
        //public IAbstractObjectStructure FreezeUntyped()
        //{
        //    if (IsFreezed) return this;
        //    if (m_freezedCopy != null) return m_freezedCopy;
        //    m_freezedCopy = (AbstractObjectStructure)CloneUntyped();
        //    m_freezedCopy.m_isFreezed = true;
        //    return m_freezedCopy;
        //}
        //public abstract IAbstractObjectStructure CloneUntyped();

        protected void CopyFromObject(IAbstractObjectStructure source)
        {
            // groupid is NOT merged
            m_specificData.Clear();
            m_specificData.AddAll(source.SpecificData);
            Comment = source.Comment;
            XmlTool.CopyProperties(source, this);
        }