EntityBase2 Events |
The EntityBase2 type exposes the following members.
Name | Description | |
---|---|---|
AfterSave |
Event handler declaration for the event that is fired each time this entity is persisted. Related entities can subscribe to
this event to start housekeeping actions, like syncing internal FK fields with the PK fields of this entity.
(Inherited from EntityCoreTFields.) | |
EntityContentsChanged |
Event handler declaration for the event that is fired each time the one of values of this entity are changed.
The event does not contain the value / field which is changed, it only signals subscribers the entity is changed
and the subscriber should act accordingly, f.e. fire a ListChanged event.
(Inherited from EntityCoreTFields.) | |
Initialized |
Event which is raised at the end of the initialization method of the entity. This event is also raised if the entity is pre-filled with a
filled EntityFields(2) object. In your handler, check the State property of the entity Fields to see if you're dealing with a new entity or with an
entity which is new, but pre-initialized with filled field objects.
(Inherited from EntityCoreTFields.) | |
Initializing |
Event which is raised at the start of the initialization method of the entity. The entity is clean and has no entity fields object yet.
(Inherited from EntityCoreTFields.) | |
PropertyChanged |
Event fired when a field / property is changed. To fire this event from a derived class, call OnPropertyChanged.
(Inherited from EntityCoreTFields.) |