0
I need to insert a large amount of lines (exactly 221) when I start my WP application. Actually I’m using arrays and loop repetition for, so I’m losing performance when starting the app.
I did some research on RunInTransactionAsync, I didn’t find much but, there is some way to leave this insert faster?
for (var i = 0; i < 221; i++)
{
   var hino = new hinos() { numHino = array.numeroHinos[i], favHino = array.favHinos, nomeHino = array.nomeHinos[i], catHino = array.categoriaHinos[i], letraHino = array.letraHinos[i] };
   await con.InsertAsync(hino);                 
}