Most voted "repository" questions
A software repository is a storage location from where software packages can be recovered and installed on a computer.
Learn more…61 questions
Sort by count of
-
28
votes1
answer3003
viewsHow does the Repository standard work?
I was doing a study on a framework in PHP called Symfony. When I was studying about the database research, I realized that there are some differences in relation to the searches, as in frameworks as…
database oop pattern-design software-engineering repositoryasked 8 years, 11 months ago Wallace Maxters 102,340 -
14
votes1
answer41436
viewsFatal: Not a git Repository
I created a la repository on Github and then went to play files through Git using cd C:\Users\Nikolai\Desktop\exercicios-c git remote add origin https://github.com/NikolaiCinotti/exercicios-c.git…
-
10
votes1
answer838
viewsHow do I keep one git repository updated with another?
I participate in two repositories on Github, the second being a clone of the first, and for now private (for security reasons). I cloned this second on my machine to be able to work on top, but in…
-
6
votes1
answer522
viewsEntityframework 6 + Lazyloadingenabled + using()
I need a help. My problem is this: I cannot return my object items. Follow my code for analysis. Client class public partial class Cliente { public Cliente() { this.ClienteEndereco = new…
c# asp.net-mvc entity-framework-6 lazy-loading repositoryasked 9 years, 6 months ago Henrique Abreu 379 -
3
votes1
answer1208
viewsWork unit (Unit of Work) with repository
In ASP.NET MVC & Entity Framework, because many examples and some open-source projects find a unit of work together with the repository pattern whereas the DbContext is already a Unit of work,…
-
3
votes1
answer401
viewsWhat is the best repository for Maven?
Sometimes I can’t find the dependencies in a repository, so where should I look for those dependencies? Is there a core where all possible dependencies will be there?
-
3
votes2
answers705
viewsError while deleting using Entity Framework 6 and custom repository
I am using the Entity framework to do CRUD in the database, but I have an error trying to delete an item: "The Object cannot be Deleted because it was not found in the Objectstatemanager." I’m using…
-
3
votes1
answer2328
viewsHow to delete an old Git commit?
guys, earlier I was playing some stuff in git and unintentionally copied a folder with a file inside and commited locally, then I deleted it and committed the deletion locally, I was developing what…
-
3
votes2
answers120
viewsEnumeration class in the Repository Pattern
How can I read from my bank an attribute int which in my system is a type attribute Enumeration in the Repository Pattern? I took a class: public class Status : Enumeration { public static readonly…
-
3
votes1
answer62
viewsHow do I publish my library to a linux repository?
I have developed a C library and I want to make it available to other developers. I wish this library could be installed using the command apt-get, for example: sudo apt-get install minhalib and in…
-
3
votes1
answer167
viewsGit - Pull/Push with different repositories
I have a project that sends to 2 repositories at the same time using the same remote, example: [remote "origin"] url = https://gitlab.com/teste.git url = http://bitbucket.org/teste.git In this type…
-
2
votes1
answer164
viewsRepository Pattern - Usage Doubt
Good night, you guys. I was developing a software and started thinking about what would be the best way to implement the Repository Pattern. I have to return to the data controller of cities and…
-
2
votes0
answers93
viewsDecorator Pattern with Repository Pattern
Guys I have a need here and I’m having some difficulty to implement i have an application with Decorator Pattern and would like to update the data of my Components picking up the information…
-
2
votes2
answers434
viewsWhat’s the difference between the remote Github repository and the remote one on my dedicated server?
On Github we can create remote repositories, and when we do we gain a certain set of administrative functionalities under this repository, one of these functionalities is the administrator’s ability…
-
2
votes1
answer159
viewsJava Spring - Null returns repository
This is my Apikey class: @Entity @Table(name="API_KEYS", schema="DEMO_PIMS") @JsonIgnoreProperties(allowGetters=true) public class ApiKey implements Serializable{ private static final long…
-
2
votes0
answers189
viewsGeneric Repository with Dapper
I’m doing a test application where I want to see performance and learn about creating a generic repository with Dapper, well I have some experience when creating a generic repository, but using EF6,…
-
2
votes0
answers47
viewsDesign using SPRING MVC does not perform CRUD on the bank correctly
I have a Controller with some implemented methods that save, update and remove my object pr of the kind professorRepository on the bench. I am using the Spring boot for this project, then the CRUD…
-
2
votes1
answer57
viewsDoubt using Repository in Laravel
Personal talk! Following the idea of Boilerplate http://laravel-boilerplate.com I have a Repository like this: class EmpresaRepository extends BaseRepository { public function __construct(Empresa…
-
1
votes0
answers52
viewsDistribution of responsibilities of an agenda module
In an application, I need to present a calendar/calendar, which is composed of events and locations. I’m using the concept of Positorios, where I store all queries to a particular entity. In this…
-
1
votes1
answer1020
viewsProblem sending files to bitBucket
I am sending the commited files to the database, however it is not working, I am doing everything right but is giving the following message. git -c diff.mnemonicprefix=false -c core.quotepath=false…
-
1
votes2
answers320
viewsCan I update the GIT version without losing my repositories?
My git has version 1.9.5 and the current version is 2.7.0 I can install the new version without losing my data? Because I have a series of repositories with this old version!! What should I do?…
-
1
votes0
answers29
viewsCommit Lock with Redmine
I need to block a commit until its condition in Redmine is acceptable. Knowing that the required status index is 2(In progress). Example(I don’t use this just for understanding): if ["status" ==…
-
1
votes1
answer558
viewsWhat is the difference between Activerecord and Repository?
I’m reading a POO book in PHP that calls PHP Object Oriented Programming [Pablo Dall'Oglio] and I was a little confused with these two Patterns design, especially when it makes use of Repository…
pattern-design software-engineering active-record repositoryasked 7 years, 8 months ago Matheus Vassoler 13 -
1
votes1
answer159
viewsHow to load an entity State-related Parents
I’m starting out in the Entity Framework and when trying to load a State entity, the related Parent entity is coming with null value, which I could adjust in my code to resolve? State class: public…
-
1
votes0
answers234
viewsResponsibility of service and Repository
Folks would like to know who uses service design-Pattern and Repository, how it would be a basic architecture structure, or whatever the service may or may not do, and what are the responsibilities…
-
1
votes1
answer38
viewsdoubts generic class Asp.net mvc
Good night, In my project I have an application layer where the class is structured as follows: namespace ProjetoTreino.Aplicacao { public class PessoaAplicacao { private readonly…
-
1
votes1
answer67
viewsPrecedence in Query JPA
I’m using the notation @Where(clause = "ts_removed is null") in my entity. If I insert a method with @Query(value = "XXX") in my repository, the query will overwrite or use my Where clause inserted…
-
1
votes0
answers334
viewsAfter all, where should the rules of business be maintained?
I am going through this doubt at the moment, I am researching about design patterns. Using the Framework, which has by default the MVC. Where should we keep business rules? I read that some people…
-
1
votes1
answer180
viewsMake a bank GET from an Laravel Array
I have a select where I do a search from an informed id, No Postman do a POST by sending an array to as in the example below [ { "id":"1" }, { "id":"2" } ] In the repository I search for these id to…
-
1
votes0
answers82
viewsIs there a way to delete comments from a github commit?
Is there any way to delete a comment from a commit? Or is there an invisible file that saves those comments and logs? (either in the files of the pc or in the repository on the website). It can be…
-
1
votes1
answer43
viewsHow to create and maintain a separate repository for the subfolder of another repository?
Currently, I have a git repository with multiple folders, for example: /pasta1 /pasta1/subpasta1-1 /pasta1/subpasta1-2 /pasta2 /pasta2/subpasta2-1 /pasta2/subpasta2-2 /pasta3 /pasta3/subpasta3-1…
-
1
votes1
answer114
viewsorg.springframework.Beans.factory.Beancreationexception: ERROR
Complete error: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'applicationStart': Unsatisfied dependency expressed through field 'repository';…
-
1
votes1
answer60
viewsDDD Tactical approach - Aggregates and Repositories
I am studying on DDD and trying to apply its concepts. I’m having doubts about some concepts with regard to the tactical part of DDD. Problematic Come on! Assuming I have an aggregate Client and…
-
0
votes1
answer199
viewsDataannotation validations do not work on properties with Notmapped attribute in EF6
I upgraded the Entity Framework version from 5 to 6 in my project, and Context.Savechanges from the Data Repository stopped working only in some cases. I found that using Dataannotation in the…
-
0
votes1
answer23
viewsSelect manual in repository using Spring?
Hello, I wonder if there is a way to make a select within the Repository, I’m using Spring and REST, I need to return all entities that have another entity, I would take them by id, and I need to…
-
0
votes0
answers62
viewsProblems with Objectstatemanager when updating a Model
I’m having trouble updating a model, the code below is working correctly when I give GET in a context model edits on the screen (View) and I give a Submit everything ok but when I have a data grid…
-
0
votes1
answer1206
viewsError when cloning Gitlab repositories
I am trying to clone a repository I have created in Gitlab on my machine, but the following error is returned to me : I used the Github login to log into Gitlab and create the repository there. When…
-
0
votes0
answers127
viewsError executing make command with repository plugin
When I execute the command php artisan make:entity User it returns the error [ReflectionException] Method Prettus\Repository\Generators\Commands\EntityCommand::handle() does not exist I did the…
-
0
votes1
answer426
viewsAdd all my modified files per command line to bitbucket
I have a Solution with several projects. I made the appropriate changes and now I need to go up to the git(bitbucket). By Visual Studio 2017 is not going, I think my machine is bugged. So, I want to…
-
0
votes1
answer63
viewsNull Exception when importing the service into the Rest controller
In the example below, I am trying to make a Restful Service by fully separating @Restcontroller, @Service and @Repository. But I’m having a difficulty, because when I try to use the service inside…
-
0
votes1
answer58
viewsReplicate changes from one repository to another
I have 3 repositories that use the same component. I would like when making changes to this component, to be able to replicate to the other. It is possible?
-
0
votes1
answer3215
viewsShare git local repository with other users
Is there any way to share my git repository that’s on my computer with other users? I don’t want to use Github, I just want to share the repository so the other user can see the code and commits.…
-
0
votes0
answers25
viewsRepository not found git mac terminal
On the Mac after you first use the github user and password data in the terminal, that data is preconfigured for future use. If I try to clone or push with another user it is a mistake. It usually…
-
0
votes3
answers261
viewsCRUD Object Oriented Programming
I’m a little confused about how we persist in an object-oriented programming structure, I’m not sure how to explain it, let’s imagine the object Person and for example through Heritage create the…
-
0
votes1
answer143
viewsDoubts about the Repository - Anemic Model - MVC
I see many criticisms of the anemic model of application, so I decided to remove this doubt. I have two ASP.NET MVC applications that could share the same Models (will make use of the same…
-
0
votes1
answer164
viewsError when deleting record with Entity Framework when mapping entity
When I try to delete a record from the Mapper (Model to Domain) have the following error as return from E.F: failed because Another Entity of the same type already has the same Primary key value.…
-
0
votes0
answers54
viewsWorking with branchs in git
I have a problem understanding GIT, whether the "master" branch is used for production and the "Development" branch for staging. When I create a branch to work on a new Feature, create the "master"…
-
0
votes0
answers24
viewsHow to delete a commit already made in bitbucket
I would like to know how to delete a commit already done in bitbucket, I already pushed but just looking in the repository I found an error how to remove this change?
-
0
votes1
answer51
viewsSavechanges() method returns the added record id
I have in my Repositorygenerico the methods : public virtual async Task Adicionar(TEntity entity) { DbSet.Add(entity); await SaveChanges(); } public async Task<int> SaveChanges() { return…
-
0
votes1
answer464
viewsHow to add include by expression in Repository Pattern C#
I am creating a Repositorybase (Repository Pattern) with Entityframework Asp.Net Core, and in it I am creating a Where method, where I pass a Where expression of the entity. So far the method works…
asp.net-mvc asp.net entity-framework include repositoryasked 6 years, 3 months ago Nicola Bogar 123