1.3.1.Entity framework

1. Introduction

  • We do not need to map manually which involve opening connection to database, executing command reading the data and finally remember to close connection with an object relation mapper

2. How Entity framework works

  • DbContext: gateway to database, has one or more DBSets

  • DbSet: present tables in database

3. Manipulations

  • LINQ

Last updated

Was this helpful?