10 Configuring advanced features and handling concurrency conflicts

This chapter covers

  • Using an SQL user-defined function in EF Core queries
  • Configuring columns to have default values or computed values
  • Configuring SQL column properties on databases not created by EF Core
  • Handling concurrency conflicts

This chapter discusses several advanced configuration features that interact directly with your SQL database, such as using SQL user-defined functions (UDFs) and computed columns. These features allow you to move some of your calculations or settings into the SQL database. Although you won’t use these features every day, they can be useful in specific circumstances.

The second half of this chapter is about handling multiple, near-simultaneous ...

Get Entity Framework Core in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.