RequiredNavigationAttributeConvention RequiredNavigationAttributeConvention Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public class RequiredNavigationAttributeConvention : NavigationAttributeNavigationConvention<RequiredAttribute>, INavigationConvention
Public Class RequiredNavigationAttributeConvention
    Inherits NavigationAttributeNavigationConvention(Of RequiredAttribute)
    Implements INavigationConvention
Inheritance
System.ObjectSystem.Object
NavigationAttributeNavigationConvention<System.ComponentModel.DataAnnotations.RequiredAttribute>NavigationAttributeNavigationConvention(Of System.ComponentModel.DataAnnotations.RequiredAttribute)
RequiredNavigationAttributeConventionRequiredNavigationAttributeConvention
Implements

Inherited Members

Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeNavigationConvention{System.ComponentModel.DataAnnotations.RequiredAttribute}

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Methods

Apply(InternalRelationshipBuilder, Navigation, RequiredAttribute) Apply(InternalRelationshipBuilder, Navigation, RequiredAttribute)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override InternalRelationshipBuilder Apply(InternalRelationshipBuilder relationshipBuilder, Navigation navigation, RequiredAttribute attribute)
Public Overrides Function Apply(relationshipBuilder As InternalRelationshipBuilder, navigation As Navigation, attribute As RequiredAttribute) As InternalRelationshipBuilder
Parameters
navigation
Navigation Navigation
attribute
System.ComponentModel.DataAnnotations.RequiredAttribute System.ComponentModel.DataAnnotations.RequiredAttribute
Returns
Overrides
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeNavigationConvention<System.ComponentModel.DataAnnotations.RequiredAttribute>.Apply(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Internal.Navigation, System.ComponentModel.DataAnnotations.RequiredAttribute)Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeNavigationConvention<System.ComponentModel.DataAnnotations.RequiredAttribute>.Apply(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Internal.Navigation, System.ComponentModel.DataAnnotations.RequiredAttribute)