Quantcast
Channel: Looping list of strings from EF7 Database.SqlQuery - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Tyler for Looping list of strings from EF7 Database.SqlQuery

I got the loop working using a foreach instead of a for loop.The reason for this as stated by Pawel Hemperek:Because SqlQuery returns DbRawSqlQuery which implements IEnumerable and executes query when...

View Article



Looping list of strings from EF7 Database.SqlQuery

I am wanting to run some tests on a new API we have. So I want to load about 115 VINs from the db and plug them into the API call. I know using a model is best practice but just for the sake of testing...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images