Skip to main content

Posts

Showing posts from May, 2017

Entity Framework – an Introduction

What is ORM framework? ORM stands for Object relational mapping . The ORM framework allows you map object models of C# classes to relational databases. ORM framework is useful to maintain databases in the application and saves a lot of time for the developer thus increases developer productivity.  Key points of ORM framework: ORM framework can create classes based on database tables. It can create database tables based on class models. It helps you connect databases and executing SQL queries. What is Entity Framework? Entity framework is an ORM (Object relational mapping) framework.  This framework is written on the top of ADO.Net, which is part of .NET framework. So, internally entity framework uses ADO.Net. Entity framework generates model objects and entities based on database tables and vice versa.  You can easily add relationships (like 1 to1 or 1 to many) between different entities.  It allows you to perform basic CRUD (create, Read, Update and Delete) operations