tagged [repository]
Repository Pattern without an ORM
Repository Pattern without an ORM I am using repository pattern in a .NET C# application that does not use an ORM. However the issue I am having is how to fill One-to-many List properties of an entity...
- Modified
- 16 Feb at 17:57
Repository Pattern with MongoDB: Where to initialize the Database
Repository Pattern with MongoDB: Where to initialize the Database I just started to play around with MongoDB (C#) and tried to port a repository over from entity framework. I'm using the official C# d...
- Modified
- 10 Apr at 11:32
Repository pattern: Implementation and lazy loading of model relationships
Repository pattern: Implementation and lazy loading of model relationships I have an application which deals with products and product categories. For each of these I have models defined using POCO. `...
- Modified
- 10 May at 17:28
How does a service layer fit into my repository implementation?
How does a service layer fit into my repository implementation? I have created a POCO model class and a repository class which handles persistence. Since the POCO cannot access the repository, there a...
- Modified
- 26 May at 15:53
Interaction between unit of work and repository patterns
Interaction between unit of work and repository patterns After reading thorugh plenty of articles I am still unsure about the responsibilities of Unit of Work pattern when interacting with repositorie...
- Modified
- 20 Jul at 21:4
How do I correctly use Unity to pass a ConnectionString to my repository classes?
How do I correctly use Unity to pass a ConnectionString to my repository classes? I've literally just started using the Unity Application Blocks Dependency Injection library from Microsoft, and I've c...
- Modified
- 9 Aug at 19:20
Is caching a repository, domain or application concern?
Is caching a repository, domain or application concern? I am trying to figure out which layer should be responsible for the caching (insert/remove) work in a Domain Driven Design project. The goal is ...
- Modified
- 10 Aug at 10:25
Repository Pattern with Entity Framework 4.1 and Parent/Child Relationships
Repository Pattern with Entity Framework 4.1 and Parent/Child Relationships I still have some confusion with the Repository Pattern. The primary reason why I want to use this pattern is to avoid calli...
- Modified
- 24 Aug at 08:3
Saving domain entities changes
Saving domain entities changes here's real example that will lead to my question: I have an AddCommentToArticleCommand, which has an ArticleId, comment text and email address. This command: - - - Shou...
- Modified
- 21 Sep at 07:29
can you host a private repository for your organization to use with npm?
can you host a private repository for your organization to use with npm? Npm sounds like a great platform to use within an organization, curious if a private repo is possible, like with Nexus/Maven. N...
- Modified
- 27 Sep at 21:1
Entity Framework + Repository + Unit of Work
Entity Framework + Repository + Unit of Work I'm thinking about starting a new project using EF 4 and going through some articles, I found some articles about EF with repository pattern and unit of wo...
- Modified
- 4 Jan at 16:21
Repository and Data Mapper pattern
Repository and Data Mapper pattern After a lots of read about Repository and Data Mapper I decided to implement those patterns in a test project. Since I'm new to these I'd like to get your views abou...
- Modified
- 12 Jan at 23:55
Repository Methods vs. Extending IQueryable
Repository Methods vs. Extending IQueryable I have repositories (e.g. ContactRepository, UserRepository and so forth) which encapsulate data access to the domain model. When I was looking at , e.g. - ...
- Modified
- 15 Feb at 01:27
C# Service Layer Design Pattern
C# Service Layer Design Pattern We are looking into creating a new project and are wanting to explore using the Repository and Service layer patterns, the aim to is create loosely coupled code which i...
- Modified
- 21 Feb at 11:55
Should entity objects be exposed by the repository?
Should entity objects be exposed by the repository? I have an repository which implements interface `IRepository`. The repository performs queries on the Entity Framework (on behalf of) the applicatio...
- Modified
- 22 Mar at 12:23
Where can I find UML diagrams (instead of reinventing the wheel)?
Where can I find UML diagrams (instead of reinventing the wheel)? I am currently trying to draw a set of UML diagrams to represent products, offers, orders, deliveries and payments. These diagrams hav...
- Modified
- 5 Apr at 18:43
Using Repo with Msysgit
Using Repo with Msysgit When following the [Android Open Source Project instructions on installing repo](http://source.android.com/download/using-repo) for use with `Git`, after running the `repo init...
- Modified
- 6 May at 10:26
Repository pattern - Why exactly do we need Interfaces?
Repository pattern - Why exactly do we need Interfaces? I have read from internet I got this points which says Interfaces is used for this - - But I'm not able to understand how interface will be usef...
- Modified
- 17 May at 05:25
Implement a generic repository pattern using old ado.net
Implement a generic repository pattern using old ado.net I am trying to implement the repository pattern using ado.net because of platform limitation. ``` public interface IGenericRepository : IDispos...
- Modified
- 23 May at 21:52
Best Repository Pattern for ASP.NET MVC
Best Repository Pattern for ASP.NET MVC I recently learned ASP.NET MVC (I love it). I'm working with a company that uses dependency injection to load a Repository instance in each request, and I'm fam...
- Modified
- 7 Jun at 03:21
MVC ViewModels and Entity Framework queries
MVC ViewModels and Entity Framework queries I am new to both MVC and Entity Framework and I have a question about the right/preferred way to do this. I have sort of been following the Nerd Dinner MVC ...
- Modified
- 29 Jun at 05:40
Repository / IQueryable / Query Object
Repository / IQueryable / Query Object I am building a repository and I've seen in many places 2 reasons not to expose IQueryable outside the repository. 1) The first is because different LINQ provide...
- Modified
- 16 Aug at 00:6
how to switch from svn to bzr for working locally
how to switch from svn to bzr for working locally i have imported(checkout) some read-only repository on the Internet now i want to work on this read-only (also i have better experience with bzr than ...
- Modified
- 27 Aug at 14:6
How to implement Repository Pattern with interface, base and concrete
How to implement Repository Pattern with interface, base and concrete I have almost completed implementing my repository pattern by having a `IRepository` interface, a `NewsRepository` class and a `Ne...
- Modified
- 4 Sep at 18:4
AutoMapper.Map ignore all Null value properties from source object
AutoMapper.Map ignore all Null value properties from source object I'm trying to map 2 objects of the same type. What I want to do is AutoMapper to igonore all the properties, that have `Null` value i...
- Modified
- 20 Sep at 13:49