A valid id is acceptable as an id in the preferred source.
有效的ID可以作为首选源中的ID接受。
The natural light in the design process the preferred source.
自然光是设计过程中优先采用的光源。
All other operations are passed through to the preferred source.
将所有其他操作传递到首选源。
The facade, in turn, invokes the create operation on the preferred source.
而由facade在首选源上调用创建操作。
The facade adds all the entity records to the preferred source as a side effect of the find operation.
作为查找操作的副作用,facade 将所有的实体记录添加到首选源。
The pattern should support efficient updates of the preferred source, but this is somewhat problematic.
该模式应该支持对首选源的高效更新,但是这可能会带来问题。
In its simplest form, the preferred source, and thus the pattern, supports only find (read) operations.
在最简单的形式中,首选源及其对应的模式仅支持查找(读取)操作。
That's still far behind television, which is still the preferred source of information by 72% of Brazilians.
但是,这仍然远远落后于电视,电视目前依旧是72%的巴西人首选的信息来源。
The Preferred Data Source Pattern, or Preferred Source Pattern, is a microflow pattern for service aggregation.
首选数据源模式、或者首选源模式,是用于进行服务聚合的一种微流模式。
This returns only the entities just added, because nothing matching the criteria was initially found in the preferred source.
这将仅返回刚添加的实体,因为最初在首选源中无法找到任何匹配标准的结果。
You don't need to identify write operations, which are simply passed on to the preferred source, and results are returned.
您不需要标识写操作,它们将简单地传递给首选源,并返回结果。
In most situations, to maximize performance it makes sense to make the preferred source the most likely source of requested data.
在大部分情况下,要使得性能实现最大化,应该使首选源成为最有可能的数据请求源。
The client behaves identically to the way it does when the records come from the preferred source. There are two subpolicies
当记录来自首选源时,客户端的工作方式与它完全相同。
Thus, when you put the legacy record into the preferred source, you should use the same ID to preserve the integrity of references.
因此,当您将遗留记录放入到首选源中时,您应该使用相同的ID,以保持引用的完整性。
Despite the popularity of the Internet among the over 50s, print newspapers and magazines are still their preferred source for news.
尽管网络在50岁以上的人群中颇为流行,但报纸和杂志仍是他们首选的消息来源。
To drive these per alternate source policies, you must identify the find, create, and update operations in the preferred source interface.
要驱动每个备用源的策略,您必须在首选源接口中标识查找、创建、和更新操作。
A virtual catalog capability might leverage such a read-only pattern, as there's no need (or perhaps no ability) to update the preferred source.
虚拟目录功能可以利用这种只读的模式,因为它不需要(或者可能没有能力)更新首选信息源。
When information resulting from a read operation doesn't come from the preferred source, you may need to add the information to the preferred source.
当读取操作的结果信息不是来自首选源时,您可能需要将该信息添加到首选源。
It then merges the information from the client with the cached record and invokes the create operation (with ID) on the preferred source (see Figure 5).
然后它将来自客户端的信息与缓存的记录进行合并,并在首选源上调用创建操作(使用ID),请参见图5。
If one of the records does represent the person in front of the clerk, then it's highly likely that the facade should save the record in the preferred source.
如果其中有一条记录的确描述了站在这个职员面前的人,那么facade很可能应该将该记录保存到首选源中。
The description for the simplest form must include a Web Services description Language (WSDL) document that describes the preferred source and all alternate sources.
对最简单形式的描述必须包括Web服务描述语言(WSDL)文档,该文档描述了首选信息源和所有备用信息源。
The WSDL for the alternate sources must differ from the preferred source, at least in the endpoint address; it may also differ in the binding(s) with a bit more work.
备用源的WSDL必须区别于首选源,至少在端点地址上有所区别,它在绑定方面需要进行更多的工作,这一点也不相同。
Radio is still the medium that reaches the widest audience across the world, and the preferred source of news and entertainment for billions of people every day.
广播仍是世界上受众最广泛的媒介,也是数十亿人每天获取新闻资讯和休闲娱乐的主要途径。
To validate this subpolicy, the preferred source must support a create operation that returns the IDs as a result of the preferred source's create operation (see Figure 4).
要使这个子策略生效,首选源必须支持返回ID作为首选源创建操作结果的创建操作(请参见图4)。
The mechanism (out of scope for this pattern) would run periodically to remove entity records that shouldn't be migrated from an alternate source to the preferred source.
这种机制(超出了这个模式范围)将周期性地运行,以删除那些不应该从备用源迁移到首选源的实体记录。
In other situations, such as in a data migration, the new source (which may be the least likely to contain the requested data, at least initially) is the preferred source.
在其他情况下,比如在进行数据迁移时,将新的源(它最不可能包含所请求的数据,至少在最初的情况下)作为首选源。
If the client invokes any operation that updates a record from the preferred source (it has a valid id and is in the cache), the operation may only provide partial information.
如果客户端调用任何用于更新来自首选源的记录(它具有有效的ID并且在缓存中)的操作,那么该操作可能仅提供部分信息。
Alternatively, if no such operation exists, you can perform the create operations on the preferred source, then perform another read on the preferred source using the original criteria.
另外,如果不存在这样的操作,那么您可以在首选源上执行创建操作,然后使用原始的标准在首选源上执行另一个读取操作。
Alternatively, if no such operation exists, you can perform the create operations on the preferred source, then perform another read on the preferred source using the original criteria.
另外,如果不存在这样的操作,那么您可以在首选源上执行创建操作,然后使用原始的标准在首选源上执行另一个读取操作。
应用推荐