Share via


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

このイベントの原因となる 2 番目のプロパティ名の名前。

tablesMappedToProperty2
List<ValueTuple<String,String>>

2 番目のプロパティにマップされたテーブル。

適用対象