src/Shared/EntityFramework/Core/Query/InternalTrees/relpropertyhelper.cs
// <summary>
// Add any rel properties that are induced by the supplied relationship
// </summary>
// <param name="relationshipType"> the relationship </param>
Add any rel properties that are induced by the supplied relationship
Add any rel properties that are induced by the supplied relationship
private void ProcessRelationship(RelationshipType relationshipType)
        {
            var associationType = relationshipType as AssociationType;
            if (associationType == null)
            {
                return;
            }
            if (associationType.AssociationEndMembers.Count != 2)
            {
                return;
            }
            var end0 = associationType.AssociationEndMembers[0];
            var end1 = associationType.AssociationEndMembers[1];
            AddRelProperty(associationType, end0, end1);
            AddRelProperty(associationType, end1, end0);
        }
private void ProcessRelationship ( RelationshipType relationshipType ) { var associationType = relationshipType as AssociationType ; if ( associationType == null ) { return ; } if ( associationType . AssociationEndMembers . Count != 2 ) { return ; } var end0 = associationType . AssociationEndMembers [ 0 ] ; var end1 = associationType . AssociationEndMembers [ 1 ] ; AddRelProperty ( associationType , end0 , end1 ) ; AddRelProperty ( associationType , end1 , end0 ) ; }
Add any rel properties that are induced by the supplied relationship
Add any rel properties that are induced by the supplied relationship
// Handle only binary associations
relationshipType
RelationshipType
None