I have a list<abbreviatedProducts>
that I need to cross-reference with values from my sql server 2008 database.
I am imagining I have to iterate the string and hit the database each time for each product.
List<string> abbreviatedProducts = new[] { strawb, bana, ki, orang };
for each (var item in products)
{
//hit database to get full product name;
}
Is this the best way?