public RelationType(MetaPopulation metaPopulation, Guid id, Guid associationTypeId, Guid roleTypdId) : base(metaPopulation) { this.Id = id; this.associationType = new AssociationType(this, associationTypeId); this.roleType = new RoleType(this, roleTypdId); metaPopulation.OnRelationTypeCreated(this); }
internal void OnAssociationTypeCreated(AssociationType associationType) { this.associationTypes.Add(associationType); this.metaObjectById.Add(associationType.Id, associationType); this.Stale(); }