Natural Keys and Surrogate Keys in Entity Framework
In a nutshell, this post is going to be about using natural and surrogate keys in Entity Framework. Definitions and a Simple Example A surrogate key is a key (the type doesn’t really matter) with no business meaning that is used to uniquely identify a record in a table. A natural key, on the other […]