다음을 통해 공유


ForeignKeyPropertyDiscoveryConvention.ProcessForeignKeyRequirednessChanged 메서드

정의

오버로드

ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

외래 키에 대한 필수가 변경된 후 호출됩니다.

ProcessForeignKeyRequirednessChanged(IConventionForeignKeyBuilder, IConventionContext<Nullable<Boolean>>)

외래 키에 대한 필수가 변경된 후 호출됩니다.

ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Source:
ForeignKeyPropertyDiscoveryConvention.cs
Source:
ForeignKeyPropertyDiscoveryConvention.cs

외래 키에 대한 필수가 변경된 후 호출됩니다.

public virtual void ProcessForeignKeyRequirednessChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> context);
abstract member ProcessForeignKeyRequirednessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> -> unit
override this.ProcessForeignKeyRequirednessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> -> unit
Public Overridable Sub ProcessForeignKeyRequirednessChanged (relationshipBuilder As IConventionRelationshipBuilder, context As IConventionContext(Of IConventionRelationshipBuilder))

매개 변수

relationshipBuilder
IConventionRelationshipBuilder

외래 키에 대한 작성기입니다.

context
IConventionContext<IConventionRelationshipBuilder>

규칙 실행과 관련된 추가 정보입니다.

구현

적용 대상

ProcessForeignKeyRequirednessChanged(IConventionForeignKeyBuilder, IConventionContext<Nullable<Boolean>>)

Source:
ForeignKeyPropertyDiscoveryConvention.cs
Source:
ForeignKeyPropertyDiscoveryConvention.cs
Source:
ForeignKeyPropertyDiscoveryConvention.cs
Source:
ForeignKeyPropertyDiscoveryConvention.cs
Source:
ForeignKeyPropertyDiscoveryConvention.cs

외래 키에 대한 필수가 변경된 후 호출됩니다.

public virtual void ProcessForeignKeyRequirednessChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<bool?> context);
abstract member ProcessForeignKeyRequirednessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
override this.ProcessForeignKeyRequirednessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
Public Overridable Sub ProcessForeignKeyRequirednessChanged (relationshipBuilder As IConventionForeignKeyBuilder, context As IConventionContext(Of Nullable(Of Boolean)))

매개 변수

relationshipBuilder
IConventionForeignKeyBuilder

외래 키에 대한 작성기입니다.

context
IConventionContext<Nullable<Boolean>>

규칙 실행과 관련된 추가 정보입니다.

구현

적용 대상