다음을 통해 공유


IForeignKeyNullNavigationSetConvention.ProcessForeignKeyNullNavigationSet 메서드

정의

외래 키에서 탐색이 로 null 설정된 후 호출됩니다.

public void ProcessForeignKeyNullNavigationSet (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, bool pointsToPrincipal, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation> context);
abstract member ProcessForeignKeyNullNavigationSet : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * bool * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation> -> unit
Public Sub ProcessForeignKeyNullNavigationSet (relationshipBuilder As IConventionForeignKeyBuilder, pointsToPrincipal As Boolean, context As IConventionContext(Of IConventionNavigation))

매개 변수

relationshipBuilder
IConventionForeignKeyBuilder

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

pointsToPrincipal
Boolean

탐색이 주 엔터티 형식을 null 가리키는지 여부를 나타내는 값입니다.

context
IConventionContext<IConventionNavigation>

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

적용 대상