Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you get this magic annotation string? #6

Open
wireddown opened this issue Oct 12, 2019 · 0 comments
Open

How do you get this magic annotation string? #6

wireddown opened this issue Oct 12, 2019 · 0 comments

Comments

@wireddown
Copy link

.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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant