Demystifying the Code First approach in EF Core
Take advantage of the Code First approach in Entity Framework Core to create the data model for your application based on its domain entities in ASP.NET Core.
Authordbcontext Dbcontextoptions Getconnectionstring Authordb Onmodelcreating Modelbuilder Services Adddbcontext Code First Entity Framework
Source: infoworld.com