TwoPropertyBaseCollectionsEventData Constructors

Definition

Overloads

TwoPropertyBaseCollectionsEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)

Source:
TwoPropertyBaseCollectionsEventData.cs
Source:
TwoPropertyBaseCollectionsEventData.cs
Source:
TwoPropertyBaseCollectionsEventData.cs
Source:
TwoPropertyBaseCollectionsEventData.cs
Source:
TwoPropertyBaseCollectionsEventData.cs

Constructs the event payload.

C#
public TwoPropertyBaseCollectionsEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> firstPropertyCollection, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> secondPropertyCollection);

Parameters

eventDefinition
EventDefinitionBase

The event definition.

messageGenerator
Func<EventDefinitionBase,EventData,String>

A delegate that generates a log message for this event.

firstPropertyCollection
IReadOnlyList<IPropertyBase>

The first property collection.

secondPropertyCollection
IReadOnlyList<IPropertyBase>

The second property collection.

Applies to

Entity Framework Core 5.0 and other versions
Product Versions
Entity Framework Core 2.1, 2.2, 3.0, 3.1, 5.0

TwoPropertyBaseCollectionsEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)

Source:
TwoPropertyBaseCollectionsEventData.cs
Source:
TwoPropertyBaseCollectionsEventData.cs
Source:
TwoPropertyBaseCollectionsEventData.cs
Source:
TwoPropertyBaseCollectionsEventData.cs

Constructs the event payload.

C#
public TwoPropertyBaseCollectionsEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> firstPropertyCollection, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> secondPropertyCollection);

Parameters

eventDefinition
EventDefinitionBase

The event definition.

messageGenerator
Func<EventDefinitionBase,EventData,String>

A delegate that generates a log message for this event.

firstPropertyCollection
IReadOnlyList<IReadOnlyPropertyBase>

The first property collection.

secondPropertyCollection
IReadOnlyList<IReadOnlyPropertyBase>

The second property collection.

Applies to

Entity Framework Core 9.0 and other versions
Product Versions
Entity Framework Core 6.0, 7.0, 8.0, 9.0