다음을 통해 공유


SaveChangesEventData 생성자

정의

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

public SaveChangesEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries, int rowsAffected);
new Microsoft.EntityFrameworkCore.Diagnostics.SaveChangesEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * seq<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> * int -> Microsoft.EntityFrameworkCore.Diagnostics.SaveChangesEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), entries As IEnumerable(Of IUpdateEntry), rowsAffected As Integer)

매개 변수

eventDefinition
EventDefinitionBase

이벤트 정의입니다.

messageGenerator
Func<EventDefinitionBase,EventData,String>

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

entries
IEnumerable<IUpdateEntry>

저장되는 엔터티에 대한 항목입니다.

rowsAffected
Int32

영향을 받는 행입니다.

적용 대상