Skip to content

Commit

Permalink
Change a page link Entity properties to a section link Including & …
Browse files Browse the repository at this point in the history
…Excluding Properties` in Backing Fields|Basic configuration. (#3767)

Fixes #3385

Co-authored-by: Мартынов Вадим Андреевич <va_martynov@skbkontur.ru>
  • Loading branch information
Vadimyan and Мартынов Вадим Андреевич committed Mar 15, 2022
1 parent d694ba1 commit 5276203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entity-framework/core/modeling/backing-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ In the following sample, the `Url` property is configured to have `_url` as its

[!code-csharp[Main](../../../samples/core/Modeling/BackingFields/BackingField.cs#Sample)]

Note that backing fields are only discovered for properties that are included in the model. For more information on which properties are included in the model, see [Including & Excluding Properties](xref:core/modeling/entity-properties).
Note that backing fields are only discovered for properties that are included in the model. For more information on which properties are included in the model, see [Including & Excluding Properties](xref:core/modeling/entity-properties#included-and-excluded-properties).

You can also configure backing fields by using a Data Annotation (available in EFCore 5.0) or the Fluent API, e.g. if the field name doesn't correspond to the above conventions:

Expand Down

0 comments on commit 5276203

Please sign in to comment.