4
monr0e
7y

Mine was quite recent. I discovered that there's no real pre-existing way to create an SQL statement in C# when the number of targeted columns and the number of conditions is not predefined, so I custom built a reusable class that I now keep in my collection of tidbits.

Of course, someone here is going to tell me that there is something already.

Comments
  • 0
  • 1
    @IwraStudios I hate linq. Shortening functions by using symbols that don't always do what you think they do isn't an effective way to manipulate data.

    Anyway, linq wasn't an option either
  • 0
    @monr0e Meamt the linq extensions that can use Where, First and other sql-like statements
    Unless that is also what you are talking about
  • 2
    @IwraStudios afaik they still require one side of the statement to be predefined, and in this case both sides of the statement were variable.
Add Comment