Skip to content

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

Open
@lixaotec

Description

@lixaotec

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions