Questions tagged as 'repository'

1
answer

fatal: Not a git repository

I created a repository in GitHub and then I was playing files by Git using cd C:\Users\Nikolai\Desktop\exercicios-c git remote add origin https://github.com/NikolaiCinotti/exercicios-c.git git push -u origin master And I got the error:...
asked by 17.08.2016 / 21:35
1
answer

How to keep an updated git repository with another?

I have two repositories in GitHub, the second one being a clone of the first, and for the time being private (for security reasons). I cloned this second on my machine so I could work on it, but besides my own commits I also need to keep it u...
asked by 12.11.2015 / 01:54
1
answer

EntityFramework 6 + LazyLoadingEnabled + using ()

I need a help. My problem is this: I can not return the items of my object. Follow my code for review. Client Class public partial class Cliente { public Cliente() { this.ClienteEndereco = new HashSet<ClienteEndereco&g...
asked by 22.05.2015 / 16:55
1
answer

What is the best repository for Maven? [closed]

Sometimes I can not find dependencies in a repository, so where should I look for dependencies? Is there a core where all possible dependencies will be there?     
asked by 03.09.2015 / 03:43
2
answers

Enumeration class in Repository Pattern

How can I read from my database a int attribute that in my system is an attribute of type Enumeration in Repository Pattern ? I made a class: public class Status : Enumeration { public static readonly Status Active =...
asked by 27.12.2016 / 18:35
2
answers

Error 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 some item:    "The object can not be deleted because it was not found in the   ObjectStateManager. " I'm using the repository pattern, unit o...
asked by 24.06.2015 / 15:27
1
answer

How to delete an old Git commit?

guys, I was previously playing some stuff in git and I accidentally copied a folder with a file inside and commitei locally, then I deleted it and commitei the deletion locally, I was developing what I needed and committing, when I went to give...
asked by 22.05.2016 / 20:19
1
answer

How to publish my library to a linux repository?

I've developed a C library and want to make it available to other developers. I would like this library to be installed using the apt-get command, for example: sudo apt-get install minhalib and in the code the developers woul...
asked by 23.05.2018 / 05:29
2
answers

What is the difference between the remote GitHub repository and the remote of my dedicated server?

In GitHub we can create remote repositories, and in doing so we gain a certain set of administrative functions under this repository, one of these functionalities is the possibility for the administrator to review the commits received, to revi...
asked by 04.08.2018 / 03:22
1
answer

Unit of Work with repository

In ASP.NET MVC & Entity Framework , because many examples and some open-source projects we find a unit of work together with repository pattern and DbContext is already a unit of work, including projects with IoC and DI...
asked by 20.09.2014 / 23:06