Highlights
- Introduction to Entity Framework and versions
- Alternative approaches to Entity Framework (Core or Full Framework)
- Database First or Code First
- Use Code First to create entities and complex types
- Use of attributes and fluent approach to creating databases
- Learn Entity queries in depth
- Learn to Edit and Update Entity Data
- Learn Validation and Customization
Course Details
Entity Framework Introduction
What are Entities?
What is Object Relation Mapping?
Entity Framework Options
Versions EF 6 (Full Framework) or EF Core
What is Entity Framework?
Approaches:
- Database First
- Model First
- Code First
Designing and Creating an Entity Data Model
Understanding LINQ and language features
Anonymous Types
Object Initializers
Extension methods
Lambda Expressions
Query Expressions
Using Lambdas
Motivation
Best practices
Understanding CSDL, SSDL and MSL
Querying the EDM XML
Code Generation Options
ObjectContext vs DBContext
Entity Properties
Navigation properties
Mapping Stored Procedures
Adding to the Model
Functions
Mapping Views
Working with many to many relationships
Querying Entity Data Models
Understanding LINQ and language features
Anonymous Types
Object Initializers
Extension methods
Lambda Expressions
Query Expressions
Using Lambdas
Database First
Creating Entities from a Database
Use of Partial Classes
Annotations
Code First
Creating Entities
Applying Conventions
Attributes (Data Annotations)
Creating Complex Types
Defining Navigation Properties
Connection to Database (Context)
What are Migrations?
Creating Migrations
Creating the Database
Entity queries in depth
Using LINQ to perform Queries
Querying Across Associations
Joins and Nested Queries
Grouping
Shaping results
Deferred and Eager Loading
Getting a Single Entity
Wrapping and Unwrapping
Editing and Updating Entity Data
Use of Context for Connection
Change Tracking
Saving Changes
Asynchronous working
Inserting Parents and Children
Transaction Support
Use Within Window and web applications
Validation and Customization
Validation and Data Annotations
Partial Classes and Metadata
Configuring for ASP.NET MVC
In Memory Database
Who should attend
Feedback
4.8 out of 5 average
"Our tailored course provided a well rounded introduction and also covered some intermediate level topics that we needed to know. Clive gave us some best practice ideas and tips to take away. Fast paced but the instructor never lost any of the delegates"
Brian Leek, Data Analyst, May 2022
“JBI did a great job of customizing their syllabus to suit our business needs and also bringing our team up to speed on the current best practices. Our teams varied widely in terms of experience and the Instructor handled this particularly well - very impressive”
Brian F, Team Lead, RBS, Data Analysis Course, 20 April 2022