src/Shared/EntityFramework/ModelConfiguration/Configuration/Properties/Navigation/ConventionNavigationPropertyConfiguration.cs
// <summary>
// Configures the constraint associated with the navigation property.
// </summary>
// <typeparam name="T">
// The type of constraint configuration.
// <see cref="ForeignKeyConstraintConfiguration" /> for
// foreign key constraints and <see cref="IndependentConstraintConfiguration" />
// for independent constraints.
// </typeparam>
Configures the constraint associated with the navigation property.
Configures the constraint associated with the navigation property .
[SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")]
        public virtual void HasConstraint<T>()
            where T : ConstraintConfiguration
        {
            HasConstraintInternal<T>(null);
        }
[ SuppressMessage ( " " , " " ) ] public virtual void HasConstraint < T > ( ) where T : ConstraintConfiguration { HasConstraintInternal < T > ( null ) ; }
Configures the constraint associated with the navigation property.
Configures the constraint associated with the navigation property .
typeparam
The type of constraint configuration.
for
foreign key constraints and
for independent constraints.
The type of constraint configuration . for foreign key constraints and for independent constraints .