IndexWithPropertiesEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IEntityType, String, List<String>, String, List<ValueTuple<String,String>>, String, List<ValueTuple<String,String>>) Oluşturucu
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Olay için olay yükünü IndexPropertiesMappedToNonOverlappingTables oluşturun.
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,string)> tablesMappedToProperty1, string property2Name, System.Collections.Generic.List<(string,string)> 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,string?)> tablesMappedToProperty1, string property2Name, System.Collections.Generic.List<(string,string?)> 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)))
Parametreler
- eventDefinition
- EventDefinitionBase
Olay tanımı.
- messageGenerator
- Func<EventDefinitionBase,EventData,String>
Bu olay için günlük iletisi oluşturan bir temsilci.
- entityType
- IEntityType
Dizinin tanımlandığı varlık türü.
- indexName
- String
Dizinin adı.
- property1Name
- String
Bu etkinliğe neden olan ilk özellik adının adı.
- tablesMappedToProperty1
- List<ValueTuple<String,String>>
İlk özelle eşlenen tablolar.
- property2Name
- String
Bu etkinliğe neden olan ikinci özellik adının adı.
- tablesMappedToProperty2
- List<ValueTuple<String,String>>
İkinci özelle eşlenen tablolar.