Aracılığıyla paylaş


ReferenceChangedEventData Oluşturucu

Tanım

Olay yükünü oluşturur.

public ReferenceChangedEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry entityEntry, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, object oldReferencedEntity, object newReferencedEntity);
public ReferenceChangedEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry entityEntry, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, object? oldReferencedEntity, object? newReferencedEntity);
new Microsoft.EntityFrameworkCore.Diagnostics.ReferenceChangedEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigation * obj * obj -> Microsoft.EntityFrameworkCore.Diagnostics.ReferenceChangedEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), entityEntry As EntityEntry, navigation As INavigation, oldReferencedEntity As Object, newReferencedEntity As Object)

Parametreler

eventDefinition
EventDefinitionBase

Olay tanımı.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Bu olay için günlük iletisi oluşturan bir temsilci.

entityEntry
EntityEntry

Özellik değerinin değiştirildiği varlık örneğinin girişi.

navigation
INavigation

Gezinti özelliği.

oldReferencedEntity
Object

Başvuruda bulunılan eski varlık.

newReferencedEntity
Object

Başvuruda bulunılan yeni varlık.

Şunlara uygulanır