Skip to content

Commit

Permalink
Rearrange the 5.0 what's new page (#2904)
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Jan 4, 2021
1 parent c9cbc8b commit de624bb
Show file tree
Hide file tree
Showing 5 changed files with 235 additions and 1,740 deletions.
3 changes: 2 additions & 1 deletion .markdownlint.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"MD036": false,
"MD046": {
"style": "fenced"
}
},
"DOCSMD010": false
}
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"roundtrips",
"savepoint",
"savepoints",
"serializable",
"subquery"
]
}
4 changes: 2 additions & 2 deletions entity-framework/core/modeling/owned-entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ In addition to nested owned types, an owned type can reference a regular entity

[!code-csharp[OrderDetails](../../../samples/core/Modeling/OwnedEntities/OrderDetails.cs?name=OrderDetails)]

## Configuring Owned Types
## Configuring owned types

It is possible to chain the `OwnsOne` method in a fluent call to configure this model:

Expand All @@ -124,7 +124,7 @@ In addition, notice the `Navigation` call. In EFCore 5.0, navigation properties

The model above is mapped to the following database schema:

![Sceenshot of the database model for entity containing nested owned references](_static/owned-entities-nested.png)
![Screenshot of the database model for entity containing nested owned references](_static/owned-entities-nested.png)

## Storing owned types in separate tables

Expand Down
Loading

0 comments on commit de624bb

Please sign in to comment.