-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Code Lines Already Added #35191
Copy link
Copy link
Closed
Labels
Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub IssueseQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.
Metadata
Metadata
Assignees
Labels
Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub IssueseQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
Under the section 'The Enrollment foreign key and navigation properties', we are asked to add two lines of code to the Enrollment.cs file:
using System.ComponentModel.DataAnnotations;
and
[DisplayFormat(NullDisplayText = "No grade")
These lines of code were added in the Getting Started lesson https://learn.microsoft.com/en-us/aspnet/core/data/ef-rp/intro?view=aspnetcore-9.0&tabs=visual-studio under 'The Enrollment entity' section.
[Enter feedback here]
Page URL
https://learn.microsoft.com/en-us/aspnet/core/data/ef-rp/complex-data-model?view=aspnetcore-9.0&tabs=visual-studio
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/data/ef-rp/complex-data-model.md
Document ID
7a77b058-f005-8d68-ae46-e487c597f18e
Platform Id
aaca2147-b89a-0089-c899-6cd4f439ed68
Article author
@tdykstra
Metadata
Associated WorkItem - 419400