dotnet / dotnet/efcore

Add a way to use another property as a template for facets

Open
#31,978 0 comments 0 reactions 0 assignees View on GitHub
area-model-building
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

When a shadow FK property is created or two properties should be mapped to the same column (like the concurrency token in table-sharing) the facets need to match. This includes, but is not limited to: column name, store type, value converter, value comparer, nullability, etc.

To make this relationship more robust we can introduce a way of configuring a property to take its facets defaults from a different property.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.