You have everything to gain and nothing to lose to set up the appropriate CMRs that match your data model, even if the application code does not explicitly use them.
您已经妥善设置了与您的数据模型相匹配的CMR,即使应用程序代码并没有显式的使用它们。
In either case, exploit CMRs associated with a gateway object where possible, and either use get (OO delegation) or get (procedural assembly) as needed to get the data to return.
在两种情况下,都要尽可能利用与网关对象关联的CMR,并根据需要使用get (oo委托)或get(过程型组装),以获取要返回的数据。
Times were simpler then -there were none of those pesky CMRs to cause you to think beyond "dependent objects" (clusters of properties that actually represent an object "contained" in the entity).
这样一来,就变得更简单了,再没有烦人的CMR,也不用考虑“依赖对象”(属性的集群,实际表示“包含”在实体中的对象)以外的东西。
Times were simpler then -there were none of those pesky CMRs to cause you to think beyond "dependent objects" (clusters of properties that actually represent an object "contained" in the entity).
这样一来,就变得更简单了,再没有烦人的CMR,也不用考虑“依赖对象”(属性的集群,实际表示“包含”在实体中的对象)以外的东西。
应用推荐