protected override void MergeInternal(AbstractDefinition definition) { var def = (AttributeDefinition)definition; if (def.IsPrimaryIdAttribute || def.IsPrimaryImageAttribute || def.IsPrimaryNameAttribute || def.KeyNames.Any()) { IsSelected = true; } }
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); }
protected override void MergeInternal(AbstractDefinition definition) { var def = (EnumDefinition)definition; Values.Merge(def.Values); }
protected override void MergeInternal(AbstractDefinition definition) { Attributes.Merge(((ClassDefinition)definition).Attributes); }