Quantcast
Channel: SoftFluent – The CodeFluent Entities Blog
Viewing all articles
Browse latest Browse all 125

Count and Delete methods now supported by Event Rules

$
0
0

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:

  1. On entities,
  2. On properties,
  3. On methods.
    The third one (On Methods) contains three event rule types:
  • OnAddParameters
  • OnAfter
  • OnBefore
    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.

Cheers,

Thibault NESTOR



Viewing all articles
Browse latest Browse all 125

Latest Images

Trending Articles



Latest Images