现在我们所见的是为领域类添加验证逻辑(validation logic),但你在后面更多的对配置的学习中你会发现,还有些配置是影响领域类跟数据库的对应关系的(Lcng:其实我们之前已经学过了一个,...
基于30个网页-相关网页
One option is to place your validation logic in a service layer.
一个选择就是把验证代码放到“Service”层中。
One thing we certainly need in the near term is some validation logic.
我们近期肯定需要的一件事就是某种验证逻辑。
The invocation handler class is where all of the data validation logic is handled.
调用处理程序类是处理所有数据验证逻辑的地方。
应用推荐