Skip to content

How do you get this magic annotation string? #6

Open
@wireddown

Description

@wireddown

.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn) as in source

It's already part of the project that readers clone, so it's not covered in the tutorial.

I imagine you used dotnet ef migrations add InitialCreate (according to EFCore Migrations), but when I do this, the command picks up the Sqlite provider.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions