Table of Contents

Interface ICollectionChangedEventData

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

An interface implemented by any EventData subclass that represents a change to either a skip collection navigation or a regular collection navigation.

public interface ICollectionChangedEventData

Remarks

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

Properties

Added

The entities added to the collection.

IEnumerable<object> Added { get; }

Property Value

IEnumerable<object>

EntityEntry

The entry for the entity instance on which the navigation property has been added to or removed from.

EntityEntry EntityEntry { get; }

Property Value

EntityEntry

Removed

The entities removed from the collection.

IEnumerable<object> Removed { get; }

Property Value

IEnumerable<object>