what is entity framework? why is it used?
 Entity Framework (EF) is an open source object-relational mapping (ORM) framework for ADO.NET. It allows you to create a model by writing code or using boxes and lines in the EF Designer. 