Click here to Skip to main content
15,884,537 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: One year in lockdown Pin
W Balboos, GHB23-Mar-21 1:01
W Balboos, GHB23-Mar-21 1:01 
GeneralWSO CCC OTD 2021-03-22 Pin
OriginalGriff21-Mar-21 22:33
mveOriginalGriff21-Mar-21 22:33 
GeneralRe: WSO CCC OTD 2021-03-22 Pin
jsc4221-Mar-21 23:24
professionaljsc4221-Mar-21 23:24 
GeneralRe: WSO CCC OTD 2021-03-22 - we have a winner! Pin
OriginalGriff21-Mar-21 23:28
mveOriginalGriff21-Mar-21 23:28 
GeneralRe: WSO CCC OTD 2021-03-22 - we have a winner! Pin
jsc4221-Mar-21 23:52
professionaljsc4221-Mar-21 23:52 
GeneralRe: WSO CCC OTD 2021-03-22 - we have a winner! Pin
5teveH21-Mar-21 23:56
5teveH21-Mar-21 23:56 
GeneralRe: WSO CCC OTD 2021-03-22 - we have a winner! Pin
OriginalGriff22-Mar-21 0:53
mveOriginalGriff22-Mar-21 0:53 
RantI'm stunned at how stupid EntityFramework is Pin
Marc Clifton21-Mar-21 13:52
mvaMarc Clifton21-Mar-21 13:52 
And how it just does not work with interfaces or base classes. At least, I can't get it to work, so maybe I'm stupid.

Doing some googling, there's things like HasBaseType that have to be manually coded in the OnModelCreating method, or in the query, potentially using .Include, but really.

Why can't it just figure out what to do based on the class structure?

Maybe it's me. But I can understand why people use Dapper. Sigh | :sigh:

GeneralRe: I'm stunned at how stupid EntityFramework is PinPopular
Super Lloyd21-Mar-21 14:07
Super Lloyd21-Mar-21 14:07 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
Kenneth Haugland21-Mar-21 19:27
mvaKenneth Haugland21-Mar-21 19:27 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
Super Lloyd21-Mar-21 20:01
Super Lloyd21-Mar-21 20:01 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
Espen Harlinn22-Mar-21 1:46
professionalEspen Harlinn22-Mar-21 1:46 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
Marc Clifton22-Mar-21 2:03
mvaMarc Clifton22-Mar-21 2:03 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
Super Lloyd22-Mar-21 3:17
Super Lloyd22-Mar-21 3:17 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
obermd22-Mar-21 3:20
obermd22-Mar-21 3:20 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
Gerry Schmitz21-Mar-21 21:14
mveGerry Schmitz21-Mar-21 21:14 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
RickZeeland21-Mar-21 22:20
mveRickZeeland21-Mar-21 22:20 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
Sander Rossel21-Mar-21 22:23
professionalSander Rossel21-Mar-21 22:23 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
Marc Clifton22-Mar-21 1:52
mvaMarc Clifton22-Mar-21 1:52 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
Sander Rossel22-Mar-21 2:28
professionalSander Rossel22-Mar-21 2:28 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
Richard Deeming21-Mar-21 22:59
mveRichard Deeming21-Mar-21 22:59 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
Marc Clifton22-Mar-21 1:54
mvaMarc Clifton22-Mar-21 1:54 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
Dan Neely22-Mar-21 2:42
Dan Neely22-Mar-21 2:42 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
Jörgen Andersson21-Mar-21 23:30
professionalJörgen Andersson21-Mar-21 23:30 
GeneralRe: I'm stunned at how stupid EntityFramework is Pin
Marc Clifton22-Mar-21 1:58
mvaMarc Clifton22-Mar-21 1:58 

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.