EF Core
Entity Framework maps classes to tables and supports LINQ queries.
What you will be able to do
- Use DbContext.
- Configure entities.
- Use async queries.
In plain English
Entity Framework maps classes to tables and supports LINQ queries.
- Use DbContext.
- Configure entities.
- Use async queries.
public class AppDbContext : DbContext {
public DbSet<Course> Courses => Set<Course>();
}
var longCourses = await db.Courses.Where(c => c.Minutes >= 15).ToListAsync();Your turn
EasyExplain it back
Answer from memory: Which type represents a table set?
TEXT · starter
Your answer…Check your understanding before moving on.
Knowledge checkQuestion 1
Which type represents a table set?
Select an answer to continue
Study tools
Make it yours.
Keep a private note for this lesson, then turn the key ideas into flashcards you can revisit.
Sign in to save notes and flashcards.Both are private to your account and stay with your progress.
Sign inFinished reading?
Lock in what you just learned.
0%
Mark this lesson complete to save your place and move one step closer to the certificate.