Entity Framework Core

12 Ratings

Course Number: ADO-406
Duration: 3 days (19.5 hours)
Format: Live, hands-on

Entity Framework Core Training Overview

Accelebrate's Entity Framework (EF) Core training course teaches attendees how to get maximum value from using Microsoft’s latest Object Relational Mapping framework. Real-world issues such as performance, error handling, and concurrency will be explored in depth.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Understand the architecture and evolution of Entity Framework
  • Learn how to properly define model object for use with EF
  • Gain experience working with various database relationships
  • Use the DbContext type while supporting maintainability and testability
  • Understand how to query entities using generated SQL, raw SQL, and Stored Procedures
  • Learn how to properly handle errors, transactions, and concurrency issues
  • Gain experience using EF Migrations to effectively handle model and database changes

Prerequisites

  • All attendees should have extensive experience developing .NET-based applications with C#
  • All attendees should have experience building applications that access a relational database and some knowledge of SQL
  • Experience with a previous version of Entity Framework is not required

Outline

Expand All | Collapse All

Introduction
  • Goals and Benefits of EF
  • Evolution of EF
  • EF Core vs. EF 6
  • Code First Workflow
  • Referencing EF in a Project
  • Configuration
Defining Model Objects
  • Table and Column Mapping
  • Primary Keys
  • Sequences
  • Default Values
  • Nullable Properties
  • One-to-Many Relationships
  • Many-to-Many Relationships
  • Inheritance
  • Shadow Properties
DbContext
  • Construction
  • DbSet Type
  • Object Tracking
  • Eager Loading
  • Dependency Injection
  • In-Memory Contexts
  • Unit Testing
  • Logging
Querying Entities
  • Using LINQ
  • Deferred Execution
  • Error Handling
  • Data Projection
  • Measuring Performance
  • Disabling Object Tracking
  • Viewing Generated SQL
  • Executing Raw SQL
  • Using Stored Procedures
  • Using Database Views
  • Asynchronous Queries
Modifying Entities
  • Inserts, Updates, and Deletes
  • Related Entities
  • Cascading Updates and Deletes
  • Transactions
  • Attaching Entities
  • Concurrency Conflicts
  • Concurrency Tokens
EF Migrations
  • CLI and Package Manager Console
  • Creating a Database from a Model
  • Handling Model Changes
  • Handling Database Changes
  • Generating SQL Scripts
  • Use with Source Control
  • Importing Data
Conclusion

Training Materials

All Entity Framework training students receive a printed handout that contains all of the material presented as well as step-by-step instructions for each lab exercise.

Software Requirements

  • Windows 10 or later
  • Visual Studio 2019 or later
  • LocalDB or another version of SQL Server


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan