Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Event subscriptions - best practices

$
0
0
The OnStoreChanged and its storeEventArgs are intended for reacting in situations where out-of-process changes were made to data and here you do not get the individual data items handed to you.

If you need to react to detailed data events you should hook on to "data changes", like OnAfterAdd and OnAfterUpdate. These will fire in the same process where the data changes is happening.

For all the available events see DataEvents<T>.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>