About the OnNew event - you shouldn't manipulate your cache on this one. OnNew gets fired when DataConnection.New<T>() is called and you can set things like default value on properties before the newly created T gets returned to the caller. So On New run before OnAdd and OnAdd may never be called later on.
↧