Entity Framework - Part 1.pdf - Advanced.NET Server Development ENTITY FRAMEWORK INSTRUCTOR MAHBOOB ALI Learning Outcomes Implement data access code

Entity Framework - Part 1.pdf - Advanced.NET Server...

This preview shows page 1 - 8 out of 22 pages.

Advanced .NET Server Development ENTITY FRAMEWORK INSTRUCTOR: MAHBOOB ALI
Learning Outcomes Implement data access code using Microsoft Entity Framework LINQ to Entities
Objectives What is Entity Framework Entity Framework Architecture Entity Data Model Entity Framework and Web Forms LINQ to Entities Entity Framework Workflows
What is Entity Framework? Entity Framework is an object-relational mapper (O/RM) that enables .NET developers to work with a database using .NET objects. It eliminates the need for most of the data-access code that developers usually need to write.
Introduction to EF Microsoft’s latest ORM is Entity Framework 6 It provides all of the features of an ORM described previously and more! It allows us to choose a workflow based on our requirements and preference from: Database First Model First Code First Changes to entities are tracked automatically by the context! We can easily save all changes to our entities using the SaveChanges method of our DbContext derived context We can query our entities using LINQ to Entities!
Basic Workflow in EF To perform CURD
How EF works?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture