Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
EF Primary Key - int, uint, long or ulong? - C#
C
C#
•
4y ago
•
12 replies
Pokey
EF Primary Key - int, uint, long or ulong?
I want to hold lots and lots of rows in my Postgres database
. I assume I would be best advised configuring my entities and migrations to use a ulong as the Primary Key
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
✅ Setting Foreign key as Primary Key (EF Core)
C
C# / help
2y ago
Casting from int to uint and back
C
C# / help
2y ago
EF Core throws `DbUpdateException - duplicate primary key` on an empty table
C
C# / help
8mo ago
✅ Primary Key not recognizing
C
C# / help
2y ago