Update RelationalModelValidator validation for non-store-generated shared concurrency columns #21136
Labels
area-model-building
closed-out-of-scope
This is not something that will be fixed/implemented and the issue is closed.
type-bug
RelationalModelValidator.ValidateSharedColumnsCompatibility
ensures (among other things) that EntityTypes are not missing a concurrency token property when properties share the same column. However the definition of "concurrency token property" only includes ones where it is also store-generated.TableSharingConcurrencyTokenConvention
was recently updated see (PR #21128 and associated issue #21041) to create such properties for all concurrency token properties, not just ones which are store-generated.We should look into changing
RelationalModelValidator
in the same way.Further technical details
EF Core version: 5.0.0-preview5
The text was updated successfully, but these errors were encountered: