Created
August 2, 2015 15:33
-
-
Save suddeb/a58c2bd72a5f440fdfc3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trigger AccountTrigger on Account (before insert,after insert) { | |
new MyTriggers() | |
.attach(MyTriggers.Evt.afterInsert, new AccountTriggerHandler.AccountAfterInsertHandler()) | |
.attach(MyTriggers.Evt.beforeInsert, new AccountTriggerHandler.AccountBeforeInsertHandler()) | |
.attach(MyTriggers.Evt.beforeUpdate, new AccountTriggerHandler.AccountBeforeUpdateHandler()) | |
.run(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment