Entity Framework

What is Entity Framework, and what is its use?


Simple answer to this question is that Entity Framework is an Object Relational Mapper or ORM. But this answer really does not satisfies any beginners, So let us discuss it in some easy way.

Generally coders use ADO.NET which is a strong framework for data access (Between database and program)
Similarly in Entity Framework (EF) , EF generates business objects and entities according to database tables and you can perform many basic operation  inlcuding

  • CRUD operation
  • Easily map relationships like 1 to 1 and many to many
  • And can have inheritance between entities and many more..



Benifit of using Entity Framework is  that we can  have all data access logic written in higher level languages.
and  model can be represented in a better way by using relationships among entities.


No comments:

Post a Comment