public IEACollectionElement CreateElement(string name, string type, int packageId) { int id = idFactory.NextID; var element = new EAElement(this) { Name = name, Type = type, ElementID = id, PackageID = packageId }; elementsById[id] = element; return(element); }
public EAConnectorCollection(EARepository repository, EAElement element) : base(ObjectType.otConnector, repository.CreateConnector, () => element.ElementID) { this.repository = repository; }
public EAAttributeCollection(EARepository repository, EAElement element) : base(ObjectType.otAttribute, repository.CreateAttribute, () => element.ElementID) { }
public EATaggedValueCollection(EARepository repository, EAElement element) : base(ObjectType.otTaggedValue, EARepository.CreateTaggedValue, () => element.ElementID) { }