다음을 통해 공유


CascadeDeleteEventData 생성자

정의

이벤트 페이로드를 생성합니다.

public CascadeDeleteEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry entityEntry, Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry parentEntry, Microsoft.EntityFrameworkCore.EntityState state);
new Microsoft.EntityFrameworkCore.Diagnostics.CascadeDeleteEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry * Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry * Microsoft.EntityFrameworkCore.EntityState -> Microsoft.EntityFrameworkCore.Diagnostics.CascadeDeleteEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), entityEntry As EntityEntry, parentEntry As EntityEntry, state As EntityState)

매개 변수

eventDefinition
EventDefinitionBase

이벤트 정의입니다.

messageGenerator
Func<EventDefinitionBase,EventData,String>

이 이벤트에 대한 로그 메시지를 생성하는 대리자입니다.

entityEntry
EntityEntry

삭제되는 엔터티에 대한 엔터티 항목입니다.

parentEntry
EntityEntry

연계를 트리거하는 부모에 대한 엔터티 항목입니다.

state
EntityState

자식이 전환 중인 상태(일반적으로 '삭제됨')입니다.

적용 대상