Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Created Feature: CodeFirst: Make rows affected parameter optional [1070]

$
0
0
When using concurrency and sprocs, the rows affected parameter is actually optional. If none is specified, then EF falls back to the affect row count returned from ExecuteNonQuery. We should:

1) Change the default sproc metadata generation to never generate a rows affected parameter by default. Instead, we will only introduce one when it is explicitly configured using the fluent API.
2) Adds RowsAffected fluent API surface to the many-to-many sproc config surface.

Viewing all articles
Browse latest Browse all 10318

Trending Articles