You've set up Entity Framework Core in your project, but you're unsure about how to represent a table from your database in your code. Which component in EF Core helps represent a database table?

  • DbSet
  • EntityTable
  • DatabaseTable
  • TableEntity
In Entity Framework Core (EF Core), the DbSet class is used to represent a database table. It's part of the DbContext and allows you to query and perform CRUD operations on the corresponding database table using C# classes.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *