Skip to main content

Concurrency

  • Chapter
  • First Online:
Entity Framework 6 Recipes
  • 1369 Accesses

Abstract

Most applications that use sophisticated database management systems, such as Microsoft’s SQL Server, are used by more than one person at a time. The concurrency concerns surrounding shared access to simple data files are often the motivating reason why developers turn to relational database systems to support their applications. Many, but not all, of the concurrency concerns evaporate when an application relies on a relational database for its data store. The concerns that remain usually involve detecting and controlling when an object state is different in memory than in the database. The recipes in this chapter provide an introduction to solving some of the problems typically faced by developers when it comes to detecting concurrency violations and controlling which copy of the object is ultimately persisted in the database.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Brian Driscoll

About this chapter

Cite this chapter

Driscoll, B., Gupta, N., Vettor, R., Hirani, Z., Tenny, L. (2013). Concurrency. In: Entity Framework 6 Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5789-9_14

Download citation

Publish with us

Policies and ethics