src/Shared/EntityFramework/Core/Objects/DataClasses/RelationshipFixer.cs
// <summary>
// Used during relationship fixup when the source end of the relationship is not
// yet in the relationships list, and needs to be created
// </summary>
// <param name="navigation"> RelationshipNavigation to be set on new RelatedEnd </param>
// <param name="relationshipManager"> RelationshipManager to use for creating the new end </param>
// <returns> Reference to the new collection or reference on the other end of the relationship </returns>
Used during relationship fixup when the source end of the relationship is not
yet in the relationships list, and needs to be created
Used during relationship fixup when the source end of the relationship is not yet in the relationships list and needs to be created
RelatedEnd IRelationshipFixer.CreateSourceEnd(RelationshipNavigation navigation, RelationshipManager relationshipManager)
        {
            return relationshipManager.CreateRelatedEnd<TTargetEntity, TSourceEntity>(
                navigation, _targetRoleMultiplicity, _sourceRoleMultiplicity,  null);
        }
RelatedEnd IRelationshipFixer . CreateSourceEnd ( RelationshipNavigation navigation , RelationshipManager relationshipManager ) { return relationshipManager . CreateRelatedEnd < TTargetEntity , TSourceEntity > ( navigation , _targetRoleMultiplicity , _sourceRoleMultiplicity , null ) ; }
Used during relationship fixup when the source end of the relationship is not
yet in the relationships list, and needs to be created
Used during relationship fixup when the source end of the relationship is not yet in the relationships list and needs to be created
/*existingRelatedEnd*/
Reference to the new collection or reference on the other end of the relationship
Reference to the new collection or reference on the other end of the relationship
navigation
RelationshipNavigation
RelationshipNavigation to be set on new RelatedEnd
RelationshipNavigation to be set on new RelatedEnd
relationshipManager
RelationshipManager
RelationshipManager to use for creating the new end
RelationshipManager to use for creating the new end