Habanero.Smooth.OneToManyAutoMapper.GetRelatedPropName C# (CSharp) Method

GetRelatedPropName() public method

Returns the Related Property name.
public GetRelatedPropName ( ) : string
return string
        public string GetRelatedPropName()
        {
            if (this.PropertyWrapper.HasSingleReverseRelationship)
            {
                PropertyWrapper reverseRelPropInfo = this.PropertyWrapper.GetSingleReverseRelPropInfos()[0];
                return PropNamingConvention.GetSingleRelOwningPropName(reverseRelPropInfo.Name);
            }
            return GetOwningPropName(this.PropertyWrapper.DeclaringType);
        }
        /// <summary>