I have an OData service (WCF Data Service using Entity Framework).
All this service does is select data. (No writes EVER.)
When I run my OData queries, I am occasionally getting errors like this:
Transaction (Process ID 95) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction
Can a select statement be a dead lock victim? Or is Entity Framework trying to lock stuff it should not be locking?
If it is locking where it should not be, is there a way to tell Entity Framework to NEVER lock? (For this service it is always and for ever going to be read-only.)