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

Creating a table with an int Primary Key is using the bigint datatype. #491

Open
mariojsnunes opened this issue Jul 26, 2023 · 0 comments
Open

Comments

@mariojsnunes
Copy link

Creating a table with an int Primary Key now is using the bigint datatype.

[Column("EntryId")]
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int EntryId { get; internal set; }

This is a breaking change.
Besides that, shouldn't it only create as bigint if the type is long?

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