sql server - Debugging EF App locks DB tables? -



sql server - Debugging EF App locks DB tables? -

i have wcf app has 5-6 ef models in it. in production env, 1 instance of app running.

but in development there 5 developers working on @ same time. (against same database.)

we noticing tables on our sql server 2008 r2 db locked. seems when doing step on debugging , has leave on step few minutes.

i curious why ef maintain lock on table. how maintain lock on table using ef? can prevent this?

note: same application accesses wcf info services (odata) endpoint of info (from same database). don't see how odata locking db, thought mention in case important.

there 1 solution. each developer have locally installed database , run debugging session in own environment! else wrong development environment. utilize sql server express or sql server developer edition.

sql-server wcf entity-framework entity-framework-4

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -