RequiredNavigationAttributeConvention.ProcessForeignKeyPrincipalEndChanged 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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>