src/Shared/EntityFramework/ModelConfiguration/Configuration/Properties/Navigation/ConventionNavigationPropertyConfiguration.cs
// <summary>
// Sets the inverse end multiplicity.
// </summary>
Sets the inverse end multiplicity.
Sets the inverse end multiplicity .
public virtual ConventionNavigationPropertyConfiguration HasInverseEndMultiplicity(RelationshipMultiplicity multiplicity)
        {
            if (_configuration != null
                && _configuration.InverseEndKind == null)
            {
                if (_configuration.InverseNavigationProperty != null)
                {
                    VerifyMultiplicityCompatibility(multiplicity, _configuration.InverseNavigationProperty);
                }
                _configuration.InverseEndKind = multiplicity;
            }
            return this;
        }
public virtual ConventionNavigationPropertyConfiguration HasInverseEndMultiplicity ( RelationshipMultiplicity multiplicity ) { if ( _configuration != null && _configuration . InverseEndKind == null ) { if ( _configuration . InverseNavigationProperty != null ) { VerifyMultiplicityCompatibility ( multiplicity , _configuration . InverseNavigationProperty ) ; } _configuration . InverseEndKind = multiplicity ; } return this ; }
Sets the inverse end multiplicity.
Sets the inverse end multiplicity .
multiplicity
RelationshipMultiplicity