LocalView<TEntity>.CollectionChanged 事件

定义

当集合的内容发生更改时发生,可能是因为已直接从集合中添加或删除实体,或者因为实体开始被跟踪,或者因为实体被标记为 Deleted。

public virtual event System.Collections.Specialized.NotifyCollectionChangedEventHandler CollectionChanged;
public virtual event System.Collections.Specialized.NotifyCollectionChangedEventHandler? CollectionChanged;
public event System.Collections.Specialized.NotifyCollectionChangedEventHandler? CollectionChanged;
member this.CollectionChanged : System.Collections.Specialized.NotifyCollectionChangedEventHandler 
Public Overridable Event CollectionChanged As NotifyCollectionChangedEventHandler 
Public Event CollectionChanged As NotifyCollectionChangedEventHandler 

事件类型

实现

适用于