Click here to Skip to main content
15,889,810 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Evil. Pin
Rage19-Apr-21 22:00
professionalRage19-Apr-21 22:00 
GeneralRe: Evil. Pin
kmoorevs20-Apr-21 5:09
kmoorevs20-Apr-21 5:09 
GeneralRe: Evil. Pin
OldDBA20-Apr-21 19:53
OldDBA20-Apr-21 19:53 
GeneralRe: Evil. Pin
Gilles Plante21-Apr-21 1:34
Gilles Plante21-Apr-21 1:34 
RantThis is what you get when you have junior programmers write an application in .NET Core PinPopular
Marc Clifton19-Apr-21 7:45
mvaMarc Clifton19-Apr-21 7:45 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
Super Lloyd19-Apr-21 7:51
Super Lloyd19-Apr-21 7:51 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
Marc Clifton19-Apr-21 7:56
mvaMarc Clifton19-Apr-21 7:56 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
Ste.S19-Apr-21 22:40
Ste.S19-Apr-21 22:40 
I have nothing against using a repo per table, sometimes I do it. Sometimes, a repo will be for a task or some kind of logical grouping.

90% of dapper is just mapping from a table to a class, hardly any code involved. Even to generate a class to represent a table is trivial.

The advantage for me and working with different levels of developers is that its simple to understand, simple to find the correct repo and method. EF may be different now but for most things I don't need a full ORM and EF was a pain. I'm also perfectly happy writing my own SQL and if I need I can just add it to the repo. I don't see this as over engineering, it's pretty simple.

I used to be into EF but I found it harder and harder to justify it over a micro-orm. It may be different now and easy to setup, configure and use but still it's a layer I don't need.

I also have nothing against lots of controllers but I can't understand it being per table in your example, usually its for the UI and specific task.

I've always found it interesting why people use EF, personally I stopped using it when I couldn't justify to a client why I wanted to use it over PetaPocco (wow not thought of that for a while).
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
GuyThiebaut19-Apr-21 8:06
professionalGuyThiebaut19-Apr-21 8:06 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
raddevus19-Apr-21 11:04
mvaraddevus19-Apr-21 11:04 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
Super Lloyd19-Apr-21 17:05
Super Lloyd19-Apr-21 17:05 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
MSBassSinger20-Apr-21 3:54
professionalMSBassSinger20-Apr-21 3:54 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
MichaelLuna20-Apr-21 8:32
MichaelLuna20-Apr-21 8:32 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
Daniel Pfeffer19-Apr-21 8:15
professionalDaniel Pfeffer19-Apr-21 8:15 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
Marc Clifton19-Apr-21 9:01
mvaMarc Clifton19-Apr-21 9:01 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
Eddy Vluggen20-Apr-21 2:28
professionalEddy Vluggen20-Apr-21 2:28 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
Member 1091697420-Apr-21 2:43
professionalMember 1091697420-Apr-21 2:43 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
Dan Neely20-Apr-21 2:53
Dan Neely20-Apr-21 2:53 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
MSBassSinger20-Apr-21 3:52
professionalMSBassSinger20-Apr-21 3:52 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
Xequence20-Apr-21 4:11
Xequence20-Apr-21 4:11 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
salz15020-Apr-21 6:38
salz15020-Apr-21 6:38 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
Gerry Schmitz20-Apr-21 7:22
mveGerry Schmitz20-Apr-21 7:22 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
mattyltaylor20-Apr-21 10:15
mattyltaylor20-Apr-21 10:15 
GeneralRe: This is what you get when you have junior programmers write an application in .NET Core Pin
Marc Clifton26-Apr-21 14:49
mvaMarc Clifton26-Apr-21 14:49 
GeneralEggs out of a carton. Pin
rnbergren19-Apr-21 7:41
rnbergren19-Apr-21 7:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.