Поделиться через


RequiredNavigationAttributeConvention.ProcessForeignKeyPrincipalEndChanged Метод

Определение

System.Object.ProcessForeignKeyPrincipalEndChanged(Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder,System.Collections.Generic.IEnumerable{System.ComponentModel.DataAnnotations.RequiredAttribute},System.Collections.Generic.IEnumerable{System.ComponentModel.DataAnnotations.RequiredAttribute},Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext{Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder})
public override void ProcessForeignKeyPrincipalEndChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.RequiredAttribute> dependentToPrincipalAttributes, System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.RequiredAttribute> principalToDependentAttributes, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> context);
public override void ProcessForeignKeyPrincipalEndChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.RequiredAttribute>? dependentToPrincipalAttributes, System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.RequiredAttribute>? principalToDependentAttributes, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> context);
override this.ProcessForeignKeyPrincipalEndChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * seq<System.ComponentModel.DataAnnotations.RequiredAttribute> * seq<System.ComponentModel.DataAnnotations.RequiredAttribute> * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> -> unit
Public Overrides Sub ProcessForeignKeyPrincipalEndChanged (relationshipBuilder As IConventionForeignKeyBuilder, dependentToPrincipalAttributes As IEnumerable(Of RequiredAttribute), principalToDependentAttributes As IEnumerable(Of RequiredAttribute), context As IConventionContext(Of IConventionForeignKeyBuilder))

Параметры

relationshipBuilder
IConventionForeignKeyBuilder
dependentToPrincipalAttributes
IEnumerable<RequiredAttribute>
principalToDependentAttributes
IEnumerable<RequiredAttribute>

Применяется к