I have a table with OrderSequence, the schema looks roughly like this:
- id
- Name
- OrderSequence
I have an arrays of ids ("1", "2", "3", "4") in my MVC Action codes, i want to set the SequenceOrder for sorting purpose. I don't want to loop it via .Net and execute N number of sql queries. How should i do it using dapper/raw ado.net?