Exemple #1
0
        //-------------------------------------------------------------------------

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

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

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

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