Entity Framework 6.x with a DbContext database first based model (built with Devart's Entity Developer (although I think that is irrelevant here)).
The datamodel and all business code related to it is in its own separate project and all of the entities are set to implement INotifyPropertyChanged and Changing. The PropertyChanged and PropertyChanging events are handled in separate partial classes for each entity.
When I edit an existing row od data the PropertyChanged event gets fired and I can for example set the value of some other field based on the changes to the one that has just been changed. This all works exactly as I would expect. However as soon as I move to what in effect will be a new record the PropertyChanged event is not getting fired so the logic that I have constructed to make edits easier isn't being implemented for new records.
I have put breakpoints on the PropertyChanged event and I see it fired on edits but not on new rows.
I presume that somewhere I have missed something obvious but I can't think what. Could anyone enlighten me as to what I need to do to get this to apply to new records as well as editing existing ones? I generally code in vb but do understand C# (at least the basics!)
Thanks