A Repository pattern is used to access domain entities.
用Repository模式实现领域实体访问。
Generic Repository Pattern have repetition of code so what will be benefit?
通用仓库模式有重复代码,所以会有什么好处?
I would like to do this in the repository pattern way as it gets easier to unit test it then.
我想做到这一点的存储库模式方式,因为它变得更容易进行单元测试即可。
Repository: Identifies a DAO object as representing the Repository pattern (in Domain Driven Design terminology).
@Repository:把一个DAO对象认作Repository模式(在领域驱动设计术语中)。
In the widely used traditional DAO/Repository pattern, DAOs have the responsibility to perform persistence operations, which are purely behavioral, and entities are supposed to hold state.
从广泛使用的DAO/Repository模式的角度来说,DAO只负责执行持久化操作,而实体则只维护其状态。
Pattern: all files are committed to version-control repository - in the deployment context, all of the configuration files and tools.
模式:所有文件都被提交给版本控制存储库—在部署上下文中,这是指所有配置文件和工具。
Better to look to build out a pattern repository, use compound patterns and recognize a role for seeding the code and incorporating user regions where code can be augmented after generation.
最好能够构建一个模式库,使用复合模式,并识别出生成代码的角色,再与用户合作,那样在生成代码之后可以对其进行改善。
The analysis uses the consistency assumptions stored in the pattern repository.
分析使用了模式存储库中存储的一致性假设。
If one of the goals of the project that implements or USES this pattern is to create a new data repository, an incremental cost might associated with the management of the new data store.
如果实现或使用该模式的项目的目标之一是创建新的数据存储库,那么将增加与新数据存储管理相关的成本。
All patterns are stored by default in a pattern-type, local RAS repository, which you can organize into logical groups, or subdirectories.
所有的模式都默认地存储在模式类型的本地RAS存储库中,您可以将其组织成逻辑分组,或者子目录。
Store a design pattern asset in an asset repository.
在资产存储库中存储设计模式资产。
After the asset is published, the Interface Inheritance pattern will show in the list of assets under the connected repository.
在资产发布之后,InterfaceInheritance模式将出现在连接的存储库之下的资产列表中。
To do this the default fetching pattern in the Repository/DAO class is overridden by a different fetching pattern based on the specific use case as defined in the Aspect class.
就像Aspect类所定义的那样,我们可以根据特定的操作使用不同的抓取机制来覆盖Repository/DAO类所定义的默认抓取模式。
Answer: a pattern repository is a server (although it can be on your local machine) that holds patterns deployed as Reusable Asset Specification (RAS) files.
答:模式存储库是一个服务器(尽管它可以在您的本地计算机上),其中保存了作为可重用资产规范(Reusable Asset Specification,RAS)文件来部署的模式。
Import the pattern asset into the repository.
将模式资产导入存储库。
The Service Locator pattern addresses this challenge by providing a repository for all services that the RIA requires. Within it you can centralize and reuse your service tags.
服务定位器模式通过提供一个RIA所需的所有服务的仓库解决这个难题。使用它,你可以集中和重用你的服务标签。
Navigate to the repository and import the design pattern.
导航到存储库并导入设计模式。
Question: What is Pattern Repository and how does the Pattern Repository relate to the Asset Repository (RAS)?
问:什么是模式存储库(Pattern Repository),它与资产存储库(asset Repository,RAS)如何相关?
The repository class USES the above fetching pattern to retrieve the query that needs to be executed as shown in the sample code below.
Repository类使用了上述的抓取模式来执行查询,如下代码所示。
Clark argues that Ballard's subjects made the pattern of blocks part of their extended mind. It became a store of knowledge they could dip into, an external repository of information.
克拉克的观点是,接受巴拉德试验的人实际上已把那些积木的组合方式变成他们的外脑,这个外脑就成为接受试验者可以不断挖掘的知识储备库,是信息的外部呼吸系统。
Clark argues that Ballard's subjects made the pattern of blocks part of their extended mind. It became a store of knowledge they could dip into, an external repository of information.
克拉克的观点是,接受巴拉德试验的人实际上已把那些积木的组合方式变成他们的外脑,这个外脑就成为接受试验者可以不断挖掘的知识储备库,是信息的外部呼吸系统。
应用推荐