tagged [repository]
Repository Pattern Step by Step Explanation
Repository Pattern Step by Step Explanation Can someone please explain to me the Repository Pattern in .NET, step by step giving a very simple example or demo. I know this is a very common question bu...
- Modified
- 4 Mar at 15:31
Transfer git repositories from GitLab to GitHub - can we, how to and pitfalls (if any)?
Transfer git repositories from GitLab to GitHub - can we, how to and pitfalls (if any)? Can one transfer repositories from GitLab to GitHub if the need be. If so, how exactly can I go about doing the ...
- Modified
- 8 Mar at 06:47
DDD - How to implement high-performing repositories for searching
DDD - How to implement high-performing repositories for searching I have a question regarding DDD and the repository pattern. Say I have a Customer repository for the Customer aggregate root. The Get ...
- Modified
- 4 Apr at 12:52
ASP.NET Identity with Repository and Unit of Work
ASP.NET Identity with Repository and Unit of Work I'm learning Repository and Unit of Work patterns in ASP.NET MVC 5 application with Entity Framework 6. I had already read a lot of tutorials and arti...
- Modified
- 22 Apr at 19:27
Persistance ID's and Domain Model Entities
Persistance ID's and Domain Model Entities I was curious on what peoples thoughts are on keeping the Id of a DAL entity as a property of the Domain Entity, at the absolute most a read-only property. M...
- Modified
- 2 May at 01:33
Using View-Models with Repository pattern
Using View-Models with Repository pattern I'm using [Domain driven N-layered application architecture](http://blogs.msdn.com/b/marblogging/archive/2011/05/23/domain-drive-design-n-layered-net-4-0-arch...
- Modified
- 11 May at 07:45
Repository Pattern and unit testing from memory
Repository Pattern and unit testing from memory I have seen some implementations of the Repository Pattern, very simple and intuitive, linked form other answers here in stackoverflow [http://www.codep...
- Modified
- 25 Jul at 07:4
Generating identities for entities in DDD
Generating identities for entities in DDD ### Edit To further clarify my initial problem, I rewrote the question with more 'DDD'-termini, common patterns and discussion arguments. The orginal version ...
- Modified
- 9 Sep at 14:40
Using Simple Injector with Unit Of Work & Repository Pattern in Windows Form
Using Simple Injector with Unit Of Work & Repository Pattern in Windows Form I'm trying to implement IoC in my windows form application. My choice fell on Simple Injector, because it's fast and lightw...
- Modified
- 22 Apr at 15:58
Git: add vs push vs commit
Git: add vs push vs commit What is the difference between git `add`, `push` and `commit`? Just a little confused coming from SVN, where "update" will 'add' stuff, and commit does a "push" and will 'ad...
- Modified
- 23 Apr at 18:0
Should I abstract the validation framework from Domain layer?
Should I abstract the validation framework from Domain layer? I am using FluentValidation to validate my service operations. My code looks like: UserValidator i
- Modified
- 5 May at 13:23
Implementing retry logic for deadlock exceptions
Implementing retry logic for deadlock exceptions I've implemented a generic repository and was wondering if there is a smart way to implement a retry logic in case of a deadlock exception? The approac...
- Modified
- 5 May at 14:44
Having a repository dependent on another repository
Having a repository dependent on another repository I've recently been spending time reading up on SOLID principles and decided to seeing how the code base I work with compares. In some of our code th...
- Modified
- 8 May at 09:29
Entity Framework relationships between different DbContext and different schemas
Entity Framework relationships between different DbContext and different schemas So, I have two main objects, Member and Guild. One Member can own a Guild and one Guild can have multiple Members. I ha...
- Modified
- 16 Jun at 20:34
Repository pattern connection string
Repository pattern connection string I am building a generic Repository for a WinForms kinda small app like this: I know that many recommend against usin
- Modified
- 22 Aug at 14:29
How do you merge two Git repositories?
How do you merge two Git repositories? Consider the following scenario: I have developed a small experimental project A in its own Git repo. It has now matured, and I'd like A to be part of larger pro...
- Modified
- 17 Feb at 20:38
How to implement generic GetById() where Id can be of various types
How to implement generic GetById() where Id can be of various types I am trying to implement a generic `GetById(T id)` method which will cater for types which may have differing ID types. In my exampl...
- Modified
- 3 Mar at 18:6
How to connect local folder to Git repository and start making changes on branches?
How to connect local folder to Git repository and start making changes on branches? I'm new to source control; in the past, I've manually backed up copies of files and made changes on clones then tran...
- Modified
- 21 Mar at 14:9
Unit of Work + Repository Pattern: The Fall of the Business Transaction Concept
Unit of Work + Repository Pattern: The Fall of the Business Transaction Concept Combining `Unit of Work` and `Repository Pattern` is something used fairly widely nowadays. As Martin Fowler [says](http...
- Modified
- 15 Apr at 14:26
Why use AsQueryable() instead of List()?
Why use AsQueryable() instead of List()? I'm getting into using the Repository Pattern for data access with the [Entity Framework](http://en.wikipedia.org/wiki/ADO.NET_Entity_Framework) and [LINQ](htt...
- Modified
- 15 Jun at 02:1
Service Layers and Repositories
Service Layers and Repositories I've been using MVC frameworks for a short while now and I really like how the concerns are separated out. I've got into a bad habit of letting the controllers do quite...
- Modified
- 18 Aug at 21:15
How can I implement a transaction for my repositories with Entity Framework?
How can I implement a transaction for my repositories with Entity Framework? I am trying to utilize the repository design pattern in my application for 2 reasons 1. I like to de-couple my application ...
- Modified
- 7 Oct at 05:19
Is Unit Of Work and Repository Patterns very useful for big projects?
Is Unit Of Work and Repository Patterns very useful for big projects? I'm starting a new web project using ASP.NET Webforms + EF4. I'm trying to apply a repository pattern with a unit of work pattern ...
- Modified
- 11 Oct at 07:47
Generic Repository for SQLite-Net in Xamarin Project
Generic Repository for SQLite-Net in Xamarin Project I am wondering if there is a way to write a generic repository for my Xamarin project versus writing a different Repository for each entity in my o...
- Modified
- 1 Nov at 03:15
Change SVN repository URL
Change SVN repository URL My current SVN structure: But our project (hence th
- Modified
- 5 Dec at 16:6