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

Methods

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

Inherited from Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeNavigationConvention<System.ComponentModel.DataAnnotations.RequiredAttribute>

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)

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetAttributes(EntityType, String) GetAttributes(Of TCustomAttribute)(EntityType, String)

Inherited from Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeNavigationConvention<System.ComponentModel.DataAnnotations.RequiredAttribute>

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object