internal override ExtensionPointRecord ToRecord()
        {
            var result = new ExtensionPointRecord
            {
                Name        = Name,
                Description = Description,
                TypeName    = TypeName,
                Uid         = _old.Uid,
                AssemblyUid = Type.Assembly.Uid
            };

            if (Children != null)
            {
                foreach (var child in Children)
                {
                    var childItem = child.ToRecord();
                    result.AddChild(childItem);
                }
            }
            return(result);
        }
        internal override ExtensionPointRecord ToRecord()
        {
            _uid = IndexManager.GetNextExtensionPointUid();
            var result = new ExtensionPointRecord
            {
                Id          = Id,
                Description = Description,
                TypeName    = TypeName,
                Uid         = _uid,
                AssemblyUid = Type.Assembly.Uid
            };

            if (Children != null)
            {
                foreach (var child in Children)
                {
                    var childItem = child.ToRecord();
                    result.AddChild(childItem);
                }
            }
            return(result);
        }