예제 #1
0
파일: Entity.cs 프로젝트: grae22/Roadmap
        //-------------------------------------------------------------------------

        public Entity(int id,
                      EntityRelationshipManager relationshipManager)
        {
            Id            = id;
            Relationships = relationshipManager;
            Metrics       = new EntityMetrics(this);
        }
예제 #2
0
        //-------------------------------------------------------------------------

        public ActionEntity(int id,
                            EntityRelationshipManager relationshipManager)
            :
            base(id, relationshipManager)
        {
        }
예제 #3
0
        //-------------------------------------------------------------------------

        static ActionEntity()
        {
            // Specify the entities this type of entity can depend on.
            EntityRelationshipManager.AddAllowedDependency(typeof(ActionEntity), typeof(ActionEntity));
        }
예제 #4
0
        //-------------------------------------------------------------------------

        public EntityFactory(EntityRelationshipManager relationshipManager)
        {
            EntityRelationships = relationshipManager;
        }