第三种方法是把触发器逻辑转移到应用程序层,放弃触发器。
The third option is to move trigger logic to application layer and get from the trigger.
业务处理需要转移到模型层中。
我们也取得了相对容易的分布各个层的能力;所有“模型”逻辑可以被轻易的作为一个单元转移到单独的层。
We also get the ability to distribute the layers relatively easily; all "model" logic can easily be moved as a unit to a separate tier.
应用推荐