dotnet / dotnet/efcore

Allow alternate keys to exist in the model but avoid creating them in the database

Open
#28,226 0 comments 1 reaction 1 assignee Claimed by @AndriySvyryd View on GitHub
area-migrations customer-reported
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

``` C#
x.HasAlternateKey("AlternateId").HasName("");
```

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.