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