다음을 통해 공유


SharedDependentEntityEventData 생성자

정의

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

public SharedDependentEntityEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.IEntityType firstEntityType, Microsoft.EntityFrameworkCore.Metadata.IEntityType secondEntityType);
new Microsoft.EntityFrameworkCore.Diagnostics.SharedDependentEntityEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Diagnostics.SharedDependentEntityEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), firstEntityType As IEntityType, secondEntityType As IEntityType)

매개 변수

eventDefinition
EventDefinitionBase

이벤트 정의입니다.

messageGenerator
Func<EventDefinitionBase,EventData,String>

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

firstEntityType
IEntityType

첫 번째 IEntityType입니다.

secondEntityType
IEntityType

두 번째 IEntityType입니다.

적용 대상