Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 58286

A repository provides a storage mechanism for digital products. May refer to [version-control] like [git] or [svn]. An application specific tag should be used with this tag in order to identify the specific repository management interface that is being used unless the question is general in nature. See also: [repository-pattern]

1
vote
2answers
I am implementing the repository pattern in my application. The repository will connect to an API to download orders from an external API. The API that I am connecting to has a separate endpoint to … get the list of Orders and a separate endpoint to get the Items against that order. Where should the marriage of OrderItems and Orders happen? Should the GetOrders() function in my repository get …
asked May 3 '17 by Lock
1
vote
1answer
of this data into the model fields the job of the repository? Or should the repository only deal with getting the records from the database and then have a service or a transformer of some sort that … turns this HTML into the individual fields? My repository returns an IList<Product>, however this model contains all the fields that need to be filled out. If I wanted to correctly return this type, I …
asked Jul 18 '17 by Lock
3
votes
1answer
direct DB calls as the API doesn't give us all the required detail. For this situation, do I just do with a single Repository and within the repository methods I get the data from the required place … I create 2 separate repository, something like ApiProductRepository and DatabaseProductRepository? Some guidance on the best methods here would be great! …
asked Jul 18 '17 by Lock
-1
votes
2answers
I am building a repository that will request data from an API. Originally, I had multiple methods in my repository such as GetOrders(), GetOrderItems() etc. The majority of these functions had …
asked May 4 '17 by Lock