Evento RelatedEnd.AssociationChanged
[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]
Si verifica quando viene apportata una modifica a un'entità finale correlata.
Spazio dei nomi: System.Data.Entity.Core.Objects.DataClasses
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
Public Event AssociationChanged As CollectionChangeEventHandler
'Utilizzo
Dim instance As RelatedEnd
Dim handler As CollectionChangeEventHandler
AddHandler instance.AssociationChanged, handler
public event CollectionChangeEventHandler AssociationChanged
public:
event CollectionChangeEventHandler^ AssociationChanged {
void add (CollectionChangeEventHandler^ value);
void remove (CollectionChangeEventHandler^ value);
}
member AssociationChanged : IEvent<CollectionChangeEventHandler,
CollectionChangeEventArgs>
JScript supports the use of events, but not the declaration of new ones.