moritz
moritz
CC#
Created by moritz on 11/29/2023 in #help
Dapper enum to snake_case string
Damn :/ 8 years of such a significant issue is kind sad
3 replies
CC#
Created by moritz on 11/29/2023 in #help
Dapper enum to snake_case string
i also tried registering a type handler (SqlMapper.AddTypeHandler(typeof(ItemType), new EnumTypeHandler());), but according to the debugger no method of the type handler is ever being called
3 replies
CC#
Created by moritz on 11/22/2022 in #help
❔ EF core large field slows the entire query down
automapper maybe then
10 replies
CC#
Created by moritz on 11/22/2022 in #help
❔ EF core large field slows the entire query down
hm well i want to avoid redundancy and i definitely wont map 15 props manually
10 replies
CC#
Created by moritz on 11/22/2022 in #help
❔ EF core large field slows the entire query down
It's calling myIqueryable.Select(x => MyDto.FromDb(x)) And the fromdb method maps the entity to the dto
10 replies
CC#
Created by moritz on 11/22/2022 in #help
❔ EF core large field slows the entire query down
But the field is still in the query string for some reason
10 replies
CC#
Created by moritz on 11/22/2022 in #help
❔ EF core large field slows the entire query down
That's what i am doing already
10 replies
CC#
Created by moritz on 11/14/2022 in #help
❔ one to zero or one relationship EFC
i swear yesterday it didnt
17 replies
CC#
Created by moritz on 11/14/2022 in #help
❔ one to zero or one relationship EFC
now it works correctly, weird.
17 replies
CC#
Created by moritz on 11/14/2022 in #help
❔ one to zero or one relationship EFC
only difference is that i have the new-ish #nullable disabled so i dont have the question mark after the type name
17 replies
CC#
Created by moritz on 11/14/2022 in #help
❔ one to zero or one relationship EFC
it uses an inner join in the compiled sql query apparently, that would explain why its filtered for me
17 replies
CC#
Created by moritz on 11/14/2022 in #help
❔ one to zero or one relationship EFC
if i do _db.Employees.Include(e => e.Manager) it filters out employees without managers. how can you avoid that?
17 replies
CC#
Created by moritz on 9/27/2022 in #help
Jenkins unable to build CSharp project [Answered]
reinstalled everything on a new linux server, and now it works - hopefully it remains like that
54 replies
CC#
Created by moritz on 9/27/2022 in #help
Jenkins unable to build CSharp project [Answered]
yeah the pipeline did download it from the microsoft servers
54 replies
CC#
Created by moritz on 9/27/2022 in #help
Jenkins unable to build CSharp project [Answered]
especially because the sdk got downloaded seconds before
54 replies
CC#
Created by moritz on 9/27/2022 in #help
Jenkins unable to build CSharp project [Answered]
it's so weird
54 replies
CC#
Created by moritz on 9/27/2022 in #help
Jenkins unable to build CSharp project [Answered]
that would be beyond the definition of hacky xD
54 replies
CC#
Created by moritz on 9/27/2022 in #help
Jenkins unable to build CSharp project [Answered]
not preinstalled either. last time i installed wget manually and pinged it via shell. that fixed it for the time being.
54 replies
CC#
Created by moritz on 9/27/2022 in #help
Jenkins unable to build CSharp project [Answered]
problem is that they don't have curl installed
54 replies
CC#
Created by moritz on 9/27/2022 in #help
Jenkins unable to build CSharp project [Answered]
now it happens for every build i try. not sure what caused it to come back, i think it was because i restarted everything
54 replies