Or do you move all the validation code into the services tier, removing it from the domain class that should be the owner of that knowledge?
或者您可以将所有验证代码移入到服务层,然后从应当是该知识所有者的域类中删除它吗?
This technique allows people to make necessary changes to a piece of code without going through the bottleneck of an individual code owner.
这种技术可以让人们对代码片段进行必要的更改而不用经过各个代码拥有者个人的瓶颈。
Not only that: You can identify the owner of those code changes and the exact times and dates they were introduced.
不仅仅是:能够识别那些改变代码的归属者和引入的准确时间和日期。
Everyone who supplies code remains the owner of their own bit of code.
每个人都是自己的代码的所有者。
It compares the owner of the class instance with the subject (user) executing the code.
它将类实例的所有者与执行代码的subject(用户)进行比较。
The house's owner, Dwight Chang, was fined $800 for code violations. Mr. Chang did not return several phone calls, and one worker at the building said he was traveling and not available.
房子的主人,chang先生因为违反了建房规定被罚800美金,chang后来没有接电话,一位现场的工人说他在旅游不便接电话。
Notice Objectify's query code: the service instance supports filtering by property (in this case owner) and even ordering the results.
注意Objectify 的查询代码:service实例支持根据属性(在本例中是 owner)过滤,甚至对结果进行排序。
The house’s owner, Dwight Chang, was fined $800 for code violations. Mr. Chang did not return several phone calls, and one worker at the building said he was traveling and not available.
房子的主人,chang先生因为违反了建房规定被罚800美金,chang后来没有接电话,一位现场的工人说他在旅游不便接电话。
It is easier to create objects and write code while logged on as a system administrator or database owner than it is using a LUA account.
以系统管理员或数据库所有者身份登录时,创建对象和编写代码要比使用LUA帐户登录更容易。
Avoid using administrative or owner accounts for executing code.
避免使用管理员帐户或所有者帐户来执行代码。
Reporters learned that the shop owner issued a two-dimensional code to Ms. Zhang, behind the link is a phishing site, seemingly simple black and white lattice, hidden in a variety of network viruses.
记者采访了解到,网店卖家发给张女士的二维码,背后链接的是一个钓鱼网站,看似简单的黑白格子之中,隐藏的是各种网络病毒。
Please write down the address, post code, phone and cell number of the owner.
请写下车主的联系地址、编、话和手机号码。
Code injection is limited: it is not possible to refer either to the fields or to the methods defined in ancestral types of the owner type of the original method.
代码注入的是有限的:指字段或雇主的祖先类型的不同的原来的方法中定义的方法,这是不可能的。
Code injection is limited: it is not possible to refer either to the fields or to the methods defined in ancestral types of the owner type of the original method.
代码注入的是有限的:指字段或雇主的祖先类型的不同的原来的方法中定义的方法,这是不可能的。
应用推荐