//------------------------------------------------------------------------- public Entity(int id, EntityRelationshipManager relationshipManager) { Id = id; Relationships = relationshipManager; Metrics = new EntityMetrics(this); }
//------------------------------------------------------------------------- public ActionEntity(int id, EntityRelationshipManager relationshipManager) : base(id, relationshipManager) { }
//------------------------------------------------------------------------- static ActionEntity() { // Specify the entities this type of entity can depend on. EntityRelationshipManager.AddAllowedDependency(typeof(ActionEntity), typeof(ActionEntity)); }
//------------------------------------------------------------------------- public EntityFactory(EntityRelationshipManager relationshipManager) { EntityRelationships = relationshipManager; }