Count and Delete methods now supported by Event Rules
Event rules are triggered upon a lifecycle event of a CodeFluent Entities concept allowing the developer to plug himself in the lifecycle (e.g. before saving an entity, or before the validation step) of an entity to extend its behavior. Event rules can be applied on the following three concepts:
- On entities,
- On properties,
- On methods.
- The third one (On Methods) contains three event rule types:
- Until today the Count and Delete methods were not supported by Method event rules. This post is meant to let you know that as of today Delete and Count methods can be used with event rules.
More information on Event rules in the documentation.