What is Entity Framework?


Entity Framework is an Object Relational Mapping framework.

On high level, Object Relational Mapping framework automatically creates classes based on database tables (also known as Schema first approach) or it can also automatically generate necessary SQL to create database tables based on classes (also known as Code First approach).



There are three types of approach used in Entity Framework namely, 

  1. Schema First
  2. Model First
  3. Code First (Commonly used approach in development)

This should be sufficient to convince the interviewer question.

Recent Posts