In Model First approach, you first create Entities, relationships, and inheritance hierarchies directly on the design surface of EDMX.
You have to select 'Empty model' when you add ADO.NET Entity Data Model in the project.
By this, we generate a DDL and we execute this DDL against the database to create the tables and associations/relations from the EDMX file.
Thanks and Regards
Asked In: Many Interviews |