Udostępnij za pośrednictwem


RequiredNavigationAttributeConvention.ProcessNavigationAdded Metoda

Definicja

Przeciążenia

ProcessNavigationAdded(IConventionNavigationBuilder, RequiredAttribute, IConventionContext<IConventionNavigationBuilder>)
ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, RequiredAttribute, IConventionContext<IConventionNavigation>)

Wywoływana po właściwości nawigacji, która ma atrybut, jest dodawana do typu jednostki.

ProcessNavigationAdded(IConventionNavigationBuilder, RequiredAttribute, IConventionContext<IConventionNavigationBuilder>)

System.Object.ProcessNavigationAdded(Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder,System.ComponentModel.DataAnnotations.RequiredAttribute,Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext{Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder})
public override void ProcessNavigationAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder navigationBuilder, System.ComponentModel.DataAnnotations.RequiredAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder> context);
override this.ProcessNavigationAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder * System.ComponentModel.DataAnnotations.RequiredAttribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder> -> unit
Public Overrides Sub ProcessNavigationAdded (navigationBuilder As IConventionNavigationBuilder, attribute As RequiredAttribute, context As IConventionContext(Of IConventionNavigationBuilder))

Parametry

navigationBuilder
IConventionNavigationBuilder
attribute
RequiredAttribute

Dotyczy

ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, RequiredAttribute, IConventionContext<IConventionNavigation>)

Wywoływana po właściwości nawigacji, która ma atrybut, jest dodawana do typu jednostki.

public override void ProcessNavigationAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation navigation, System.ComponentModel.DataAnnotations.RequiredAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation> context);
override this.ProcessNavigationAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation * System.ComponentModel.DataAnnotations.RequiredAttribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation> -> unit
Public Overrides Sub ProcessNavigationAdded (relationshipBuilder As IConventionRelationshipBuilder, navigation As IConventionNavigation, attribute As RequiredAttribute, context As IConventionContext(Of IConventionNavigation))

Parametry

relationshipBuilder
IConventionRelationshipBuilder

Budowniczy relacji.

navigation
IConventionNavigation

Nawigacja.

attribute
RequiredAttribute

Atrybut.

context
IConventionContext<IConventionNavigation>

Dodatkowe informacje skojarzone z wykonywaniem konwencji.

Dotyczy