Exemple #1
0
        void RetrieveEntitiesSucceeded(object result)
        {
            var entities = (List <EntityDefinition>)result;

            entityCollection.AddRange(entities);
            this.generateDefinitionsToolStripMenuItem.Enabled = true;
            this.entityListView.Enabled    = true;
            this.attributeListView.Enabled = true;
        }
Exemple #2
0
        protected override void MergeInternal(AbstractDefinition definition)
        {
            var def = definition as EntityDefinition;

            if (def == null)
            {
                return;
            }

            LogicalCollectionName = def.LogicalCollectionName;

            IsLoaded = definition.IsLoaded;

            _attributes.AddRange(def.AttributesCollection.Definitions);

            _additionalClasses.AddRange(def.AdditionalClassesCollection.Definitions);

            _additionalInfos.AddRange(def.AdditionalInfoCollection.Definitions);
        }