Selecting the most suitable keys for your data sets the foundation for the rest of the data model. In earlier chapters, you have seen the role that keys play in uniquely identifying objects, the conventions that Entity Framework Core uses to select properties to use as keys, and how these conventions are overridden. In this chapter, I describe the advanced key features that Entity Framework Core provides. Like many of the features described in this part of the book, you are unlikely to need the advanced key features in every project that uses Entity Framework Core, but the ...
© Adam Freeman 2018
Adam FreemanPro Entity Framework Core 2 for ASP.NET Core MVChttps://doi.org/10.1007/978-1-4842-3435-8_1919. Working with Keys
Adam Freeman1
(1)
London, UK
Get Pro Entity Framework Core 2 for ASP.NET Core MVC now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.