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
EntityEntry
The entry for the entity instance on which the navigation property has been added to or removed from.
EntityEntry EntityEntry { get; }
Property Value
Removed
The entities removed from the collection.
IEnumerable<object> Removed { get; }