The database-first approach

In this approach, you create the database first and then ask EF to generate the entity for you. You make all your changes at the database level and not in your entities in the backend application. Here, the EF does a different job to in the code-first approach. In the database-first approach, EF reads through the database tables and columns and generates C# classes models in which each column is treated as a property. The EF also takes care of the relationship between different database tables and creates the same kind of relationship in the generated models.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.180.71