Best practice for Ids Entity framework code first
问题 So I stumbled upon this article earlier today https://blogs.msdn.microsoft.com/azuremobile/2014/05/22/tables-with-integer-keys-and-the-net-backend/ In the article, the author makes a comment that got my attention. He said Note: Typically, when starting from an Entity Framework Code-First model in your .NET Backend, you would use string ids From what I've read, using string Ids can be a performance issue in as your table grows. So I would just like to know if this was just the authors opinion