다음을 통해 공유


CollectionChangedEventData 생성자

정의

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

public CollectionChangedEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry entityEntry, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, System.Collections.Generic.IEnumerable<object> added, System.Collections.Generic.IEnumerable<object> removed);
new Microsoft.EntityFrameworkCore.Diagnostics.CollectionChangedEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigation * seq<obj> * seq<obj> -> Microsoft.EntityFrameworkCore.Diagnostics.CollectionChangedEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), entityEntry As EntityEntry, navigation As INavigation, added As IEnumerable(Of Object), removed As IEnumerable(Of Object))

매개 변수

eventDefinition
EventDefinitionBase

이벤트 정의입니다.

messageGenerator
Func<EventDefinitionBase,EventData,String>

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

entityEntry
EntityEntry

엔터티에 대한 항목은 속성 값이 변경된 instance.

navigation
INavigation

탐색 속성입니다.

added
IEnumerable<Object>

컬렉션에 추가된 엔터티입니다.

removed
IEnumerable<Object>

컬렉션에서 제거된 엔터티입니다.

적용 대상