Table of Contents

Class TwoUnmappedPropertyCollectionsEventData

Namespace
Microsoft.EntityFrameworkCore.Diagnostics
Assembly
Microsoft.EntityFrameworkCore.dll

A DiagnosticSource event payload class for events that have two unmapped property collections.

public class TwoUnmappedPropertyCollectionsEventData : EventData
Inheritance
TwoUnmappedPropertyCollectionsEventData
Inherited Members

Remarks

See Logging, events, and diagnostics for more information and examples.

Constructors

TwoUnmappedPropertyCollectionsEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData, string>, IEnumerable<Tuple<MemberInfo?, Type>>, IEnumerable<Tuple<MemberInfo?, Type>>)

Constructs the event payload.

public TwoUnmappedPropertyCollectionsEventData(EventDefinitionBase eventDefinition, Func<EventDefinitionBase, EventData, string> messageGenerator, IEnumerable<Tuple<MemberInfo?, Type>> firstPropertyCollection, IEnumerable<Tuple<MemberInfo?, Type>> secondPropertyCollection)

Parameters

eventDefinition EventDefinitionBase

The event definition.

messageGenerator Func<EventDefinitionBase, EventData, string>

A delegate that generates a log message for this event.

firstPropertyCollection IEnumerable<Tuple<MemberInfo, Type>>

The first property collection.

secondPropertyCollection IEnumerable<Tuple<MemberInfo, Type>>

The second property collection.

Properties

FirstPropertyCollection

The first property collection.

public virtual IEnumerable<Tuple<MemberInfo?, Type>> FirstPropertyCollection { get; }

Property Value

IEnumerable<Tuple<MemberInfo, Type>>

SecondPropertyCollection

The second property collection.

public virtual IEnumerable<Tuple<MemberInfo?, Type>> SecondPropertyCollection { get; }

Property Value

IEnumerable<Tuple<MemberInfo, Type>>