Skip to content

Insane in the Main Frame

I am Ophidia, programmer.

  • Home
  • Deutsch
  • English

LINQ

LINQ: Data + sequential number into new list

27. November 202027. November 2020 ophidiaC#, LINQ
Photo by Kolleen Gladden on Unsplash

I have a list of the type SomethingDTO and I now want to generate a new list of the type SomethingNeuDTO with 2 Values: “Bezeichnung” and “Nummer”, where Nummer is simply a sequential number from 1 to x. To make […]

Read more

LINQ: get the 5 people with the next upcoming birthdays

16. December 201916. December 2019 ophidiaLINQ

I needed a list of 5 students ordered by their upcoming birthdays. To make it a little harder, there is a Student table and a Person table where data such as birthday or name are stored. The query I came […]

Read more
  • Privacy
  • Contact
  • RSS
Powered by WordPress | Theme: Astrid by aThemes.