Home > Developing Using CodeFluent Entities, News > Count and Delete methods now supported by Event Rules

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:

  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

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s