dotnet / dotnet/EntityFramework.Docs

Link to relationships docs from alternate key docs to clarify how they are used

Open
#1,561 0 comments 0 reactions 0 assignees View on GitHub
area-entity-mapping
Dominant language
Mermaid
Stars
1.7k
Forks
2k
Avg merge
7d 23h
Merged PRs (30d)
16

Description

How to update an entity by its alternate key instead of primary key? (is it possible?)

I wish to accomplish using a second key for 'external id' instead of exposing primary key. What would you suggest as best practives?

thanks

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d2799173-ee3e-5650-14a8-b9185d45f730
Version Independent ID: 36181ef7-bcb6-62a8-653d-3b89c8a11dd8
Content: Alternate Keys - EF Core
Content Source: entity-framework/core/modeling/alternate-keys.md
Product: entity-framework
GitHub Login: @rowanmiller
Microsoft Alias: divega

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.