首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > genericrepository

genericrepository

  • 资源大小:1.13 MB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

Important: Project moved to GitHub Project was moved to github: https://github.com/besnik/generic-repository Intro GenericRepository project is generic implementation of Repository pattern. For detailed discussion please see Introduction. Lightweight It is lightweight thin layer between domain model and data mappers (e.g. ORMs like NHibernate, Linq2Sql or Entity Framework). The goal is to avoid recreating same repositories over and over again in all projects where repository pattern is used. Designed with respect to DDD (domain driven design). Implements Filter pattern and best used with factory and/or Service locator patter (DI/IoC). I used the name specification, but it turned out to be confusing of other design pattern, so from now on I call it filters. Example of usage: ``` var customer = new Customer { Name = "Peter Bondra", Age = 37 }; var specificationLocator = this.IoC.Resolve

文 件 列 表

Besnik.GenericRepository
Besnik.GenericRepository.dll
Besnik.GenericRepository.xml
DataMappers
Doc

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP