Is there a best practice for the following type of use case for an LLBL entity:
Lets say i have an entity Customer, and every time I insert a new Customer in the database i would like to send an email notification somewhere. For whataver reason i am using a 3rd party tiool that generates a nice email and sends it for me.
I need this to happen any time a Customer is inserted into teh database, in any app that uses this generated code. I can't have developers in different apps creating Customers and calling myCustomer.Save() without such an email being generated.
what is the recommended architecture for that scenario?