The IEntity2 type exposes the following members.
Event handler declaration for the event that is raised 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 IEntityCore.)
Event handler declaration for the event that is raised 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 IEntityCore.)
Event which is raised at the end of the initialization routine 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 IEntityCore.)
Event which is raised at the start of the initialization routine of the entity. The entity is clean and has no entity fields object yet.(Inherited from IEntityCore.)
Event fired when a field / property is changed. To fire this event from a derived class, call OnPropertyChanged.(Inherited from IEntityCore.)