Habanero.Smooth.OneToOneAutoMapper.IsDefinedAsAssociation C# (CSharp) Method

IsDefinedAsAssociation() private method

If this relationship is defined (I.e. defined via an attribute) as Association then return true.
private IsDefinedAsAssociation ( ) : bool
return bool
        private bool IsDefinedAsAssociation()
        {
            var autoMapAttribute = this.PropertyWrapper.GetAttribute<AutoMapOneToOneAttribute>();
            if (autoMapAttribute == null) return false;
            return (autoMapAttribute.RelationshipType == RelationshipType.Association);
        }
        // ReSharper restore ConditionIsAlwaysTrueOrFalse