/// <summary> Gets a collection of related entities referenced by this entity which this entity depends on (this entity is the FK side of their PK fields). These
        /// entities will have to be persisted before this entity during a recursive save.</summary>
        /// <returns>Collection with 0 or more IEntity2 objects, referenced by this entity</returns>
        public override IEntityCollection2 GetDependentRelatedEntities()
        {
            EntityCollection toReturn = new EntityCollection();
            if(_role!=null)
            {
                toReturn.Add(_role);
            }
            if(_user!=null)
            {
                toReturn.Add(_user);
            }

            return toReturn;
        }
        /// <summary> Gets a collection of related entities referenced by this entity which this entity depends on (this entity is the FK side of their PK fields). These
        /// entities will have to be persisted before this entity during a recursive save.</summary>
        /// <returns>Collection with 0 or more IEntity2 objects, referenced by this entity</returns>
        public override IEntityCollection2 GetDependentRelatedEntities()
        {
            EntityCollection toReturn = new EntityCollection();
            if(_productSection!=null)
            {
                toReturn.Add(_productSection);
            }

            return toReturn;
        }