dotnet / dotnet/EntityFramework.Docs
"Entity" Definition Conflict
- Dominant language
- Mermaid
- Stars
- 1.7k
- Forks
- 2k
- Avg merge
- 7d 23h
- Merged PRs (30d)
- 16
Description
Hello,
On this page, "entity" definition is given as:
> Including a DbSet of a type on your context means that it is included in EF Core's model; we usually refer to such a type as an entity.
However, on this other page: [https://docs.microsoft.com/en-us/aspnet/core/data/ef-mvc/intro?view=aspnetcore-6.0#create-the-database-context](https://docs.microsoft.com/en-us/aspnet/core/data/ef-mvc/intro?view=aspnetcore-6.0#create-the-database-context), "entity" definition is given as:
>In EF terminology:
> - An entity set typically corresponds to a database table.
> - An entity corresponds to a row in the table.
There seems to be a conflict between these two definitions.
Thanks,
Erhan
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 6ffdc279-736f-92e4-6de3-cce42342cd6b
* Version Independent ID: d3d4904a-f60d-a0a2-b634-cb12671fa7a2
* Content: [Entity Types - EF Core](https://docs.microsoft.com/en-us/ef/core/modeling/entity-types?tabs=data-annotations)
* Content Source: [entity-framework/core/modeling/entity-types.md](https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/core/modeling/entity-types.md)
* Product: **entity-framework**
* Technology: **entity-framework-core**
* GitHub Login: @AndriySvyryd
* Microsoft Alias: **avickers**
Contributor guide
Assessment
This issue has not been assessed yet.