در این دوره، کار با Entity Framework Core 3.1 را از یکی از برترین متخصصان این حوزه یاد میگیرید. در دوره ویدیویی Entity Framework Core: Getting Started موسسه Pluralsight که توسط Julie Lerman تدریس شده است، شما نحوهی ساخت مدل دادهها با EF Core 3.1، استفاده از EF Core برای ارتباط برقرار کردن نرم افزار با پایگاههای داده و بکارگیری EF Core در تستهای خودکار را یاد خواهید گرفت.
در دوره ویدیویی شروع به کار با Entity Framework Core، ابتدا چگونگی ساختن مدلهای داده و تعامل با آنها را یاد خواهید گرفت. در ادامه، شما نحوه راه اندازی لاگ گیری را یاد میگیرید تا ببینید که EF Core چگونه با پایگاه داده شما تعامل میکند. در پایان، نحوهی استفاده از EF Core با منطق پایگاه داده خودتان را یاد خواهید گرفت و از EF Core در برنامههای ASP.NET Core و تستها استفاده خواهید کرد. در پایان این دوره، شما قادر خواهید بود تا از Entity Framework Core 3.1 استفاده کنید و از مزایای آن بهره مند شوید.
فیلم آموزشی «شروع کار با Entity Framework Core» موسسه پلورال سایت که توسط Julie Lerman تدریس شده است، دارای زیرنویس انگلیسی است.
Table of Contents:
Course Overview
- Course Overview
Creating Your First App Using EF Core 3.1
- Introduction and Course Overview
- Module Overview
- What is Entity Framework Core?
- Getting the Correct Versions of .NET, SQL Server & Visual Studio for This Course
- Setting up the Solution
- Adding EF Core with the NuGet Package Manager
- Creating the Data Model with EF Core
- Specifying the Data Provider and Connection String
- A Sneak Peek at Writing and Reading Data
- Review and Resources
Controlling Database Creation and Schema Changes
- Introduction and Overview
- Understanding EF Core Migrations
- Adding Your First Migration
- Inspecting Your First Migration
- Using Migrations to Script or Directly Create the Database
- Reverse Engineering an Existing Database
- Review and Resources
Mapping Many-to-Many and One-to-One Relationships
- Introduction and Overview
- Understanding EF Core’s Many-to-Many Mapping
- Setting Up the Many-to-Many Relationship
- Adding a One-to-One Relationship
- Visualizing How EF Core Sees Your Model
- Controlling Table Names with Mappings
- Running Migrations for the Model Changes
- Review and Resources
Interacting with Your EF Core Data Model
- Introduction and Overview
- Looking at SQL Built by EF Core
- Adding Logging to EF Core’s Workload
- Benefiting from Bulk Operations Support
- Understanding the Query Workflow
- Filtering in Queries
- Aggregating in Queries
- Updating Simple Objects
- Deleting Simple Objects
- Persisting Data in Disconnected Scenarios
- Enhancing Performance in Disconnected Apps with No-Tracking Settings
- Review and Resources
Interacting with Related Data
- Introduction and Overview
- Inserting Related Data
- Eager Loading Related Data
- Projecting Related Data in Queries
- Loading Related Data for Objects Already in Memory
- Using Related Data to Filter Objects
- Modifying Related Data
- Creating and Changing Many-to-Many Relationships
- Querying Across Many-to-Many Relationships
- Persisting Data in One-to-One Relationships
- Querying One-to-One Relationships
- Working with a Relationship that has Minimal Properties
- Review and Resources
Working with Views and Stored Procedures and Raw SQL
- Introduction and Overview
- Adding Views and Other Database Objects Using Migrations
- Using Keyless Entities to Map to Views
- Querying the Database Views
- Querying with Raw SQL
- Running Stored Procedure Queries with Raw SQL
- Executing Non-Query Raw SQL Commands
- Review and Resources
Using EF Core with ASP.NET Core
- Introduction and Overview
- Adding the ASP.NET Core Project
- Adding a Samurai Controller to the Project
- Wiring up the ASP.NET Core App with the Our DbContext
- Running the Controller to See the Output
- Exploring and Debugging Insert, Update & Delete Controller Methods
- Review and Resources
Testing with the InMemory Provider Instead of a Real Database
- Intro
- A Very Quick Testing Overview
- Understanding What We Mean by “Testing EF Core”
- Creating Your First Test and Using It Against the Database
- Exploring Test Results & Performance Considerations
- Using the InMemory Provider in Place of a Database Provider
- Writing Your First Test with the InMemory Provider
- Refactoring and Testing Some Console App Logic
- Re-using an InMemory Provider Database
- Testing EF Core in an ASP.NET Core App
- Testing the API’s DbContext Configuration
- Review and Resources