IndexWithPropertiesEventData 생성자

정의

이벤트에 대한 이벤트 페이로드를 생성합니다 IndexPropertiesMappedToNonOverlappingTables .

public IndexWithPropertiesEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, string indexName, System.Collections.Generic.List<string> indexPropertyNames, string property1Name, System.Collections.Generic.List<(string Table, string Schema)> tablesMappedToProperty1, string property2Name, System.Collections.Generic.List<(string Table, string Schema)> tablesMappedToProperty2);
public IndexWithPropertiesEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, string? indexName, System.Collections.Generic.List<string> indexPropertyNames, string property1Name, System.Collections.Generic.List<(string Table, string? Schema)> tablesMappedToProperty1, string property2Name, System.Collections.Generic.List<(string Table, string? Schema)> tablesMappedToProperty2);
new Microsoft.EntityFrameworkCore.Diagnostics.IndexWithPropertiesEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.IEntityType * string * System.Collections.Generic.List<string> * string * System.Collections.Generic.List<ValueTuple<string, string>> * string * System.Collections.Generic.List<ValueTuple<string, string>> -> Microsoft.EntityFrameworkCore.Diagnostics.IndexWithPropertiesEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), entityType As IEntityType, indexName As String, indexPropertyNames As List(Of String), property1Name As String, tablesMappedToProperty1 As List(Of ValueTuple(Of String, String)), property2Name As String, tablesMappedToProperty2 As List(Of ValueTuple(Of String, String)))

매개 변수

eventDefinition
EventDefinitionBase

이벤트 정의입니다.

messageGenerator
Func<EventDefinitionBase,EventData,String>

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

entityType
IEntityType

인덱스가 정의된 엔터티 형식입니다.

indexName
String

인덱스의 이름입니다.

indexPropertyNames
List<String>

인덱스 정의 속성의 이름입니다.

property1Name
String

이 이벤트를 발생시키는 첫 번째 속성 이름의 이름입니다.

tablesMappedToProperty1
List<ValueTuple<String,String>>

첫 번째 속성에 매핑된 테이블입니다.

property2Name
String

이 이벤트를 발생시키는 두 번째 속성 이름의 이름입니다.

tablesMappedToProperty2
List<ValueTuple<String,String>>

두 번째 속성에 매핑된 테이블입니다.

적용 대상