Skip to content

Commit 1c9deac

Browse files
Fix wording in entity-types.md regarding mappings (#5277)
1 parent 8e6d9c6 commit 1c9deac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entity-framework/core/modeling/entity-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Entity types can be mapped to database views using the Fluent API.
9292
9393
[!code-csharp[Main](../../../samples/core/Modeling/EntityTypes/FluentAPI/ViewNameAndSchema.cs?name=ViewNameAndSchema&highlight=1)]
9494

95-
Mapping to a view will remove the default table mapping, but the entity type can also be mapped to a table explicitly. In this case the query mapping will be used for queries and the table mapping will be used for updates.
95+
Mapping to a view will remove the default table mapping, but the entity type can also be mapped to a table explicitly. In this case the view mapping will be used for queries and the table mapping will be used for updates.
9696

9797
> [!TIP]
9898
> To test keyless entity types mapped to views using the in-memory provider, map them to a query via <xref:Microsoft.EntityFrameworkCore.InMemoryEntityTypeBuilderExtensions.ToInMemoryQuery*>. See the [in-memory provider docs](xref:core/testing/testing-without-the-database#in-memory-provider) for more information.

0 commit comments

Comments
 (0)