How should I get EntityFieldName for MappedFieldNameRelation in place of ??? to set in BaseProperty.
when I am looping through EntityField I am getting all the EntityFieldName at once.
<[Foreach RelatedEntity ManyToOne]><[If Not MappedFieldRelationIsHidden]>
        /// <summary> 
        /// Gets / sets related entity of type '<[RelatedEntityName]>Entity' which has to be set using a fetch action earlier. If no related entity
        /// is set for this property, null is returned. This property is not visible in databound grids.
        /// </summary>
        [RelationInfo(ReferencePropertyInRelatedObject = "<[RelatedMappedFieldNameRelation]>", RelationType= "ManyToOne",  BaseProperty="???")]
        public virtual <[RelatedEntityName]>Entity <[MappedFieldNameRelation]>
        {
            get { return (<[RelatedEntityName]>Entity)GetPropertyValue("<[MappedFieldNameRelation]>"); }
            set { SetPropertyValue("<[MappedFieldNameRelation]>", value); }
        }