Skip to content

Commit ac80e8f

Browse files
authored
Fix link to DataTypeAttribute (#17898)
1 parent 3026d3f commit ac80e8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aspnetcore/includes/RP/model1b.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Add the following properties to the `Movie` class:
66
The `Movie` class contains:
77

88
* The `ID` field is required by the database for the primary key.
9-
* `[DataType(DataType.Date)]`: The [DataType](/dotnet/api/microsoft.aspnetcore.mvc.dataannotations.internal.datatypeattributeadapter) attribute specifies the type of the data (Date). With this attribute:
9+
* `[DataType(DataType.Date)]`: The [DataType](xref:System.ComponentModel.DataAnnotations.DataTypeAttribute) attribute specifies the type of the data (Date). With this attribute:
1010

1111
* The user is not required to enter time information in the date field.
1212
* Only the date is displayed, not time information.

0 commit comments

Comments
 (0)