I am trying to delete multiple rows from a table using the linq ExecuteStoreQuery method like this
string query = "delete from IMPORTStatistics where districtid='" + districtId + "'"; db.ExecuteStoreQuery<int>(query);
but he throws this exception
"The data reader has more than one field. Multiple fields are not valid for EDM primitive types."
What am I doing wrong?
For information only, I use MySql.
source share