다음을 통해 공유


RelationalNavigationJsonPropertyNameAttributeConvention.ProcessNavigationAdded Method

Definition

Called after a navigation property that has an attribute is added to an entity type.

public override void ProcessNavigationAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder navigationBuilder, System.Text.Json.Serialization.JsonPropertyNameAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder> context);
override this.ProcessNavigationAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder * System.Text.Json.Serialization.JsonPropertyNameAttribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder> -> unit
Public Overrides Sub ProcessNavigationAdded (navigationBuilder As IConventionNavigationBuilder, attribute As JsonPropertyNameAttribute, context As IConventionContext(Of IConventionNavigationBuilder))

Parameters

navigationBuilder
IConventionNavigationBuilder

The builder for the navigation.

attribute
JsonPropertyNameAttribute

The attribute.

context
IConventionContext<IConventionNavigationBuilder>

Additional information associated with convention execution.

Applies to