We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b62bf6 + 46c751a commit c78f423Copy full SHA for c78f423
src/Application/src/RazorPagesTestSample/Data/Message.cs
@@ -7,9 +7,16 @@ public class Message
7
{
8
public int Id { get; set; }
9
10
+ /// <summary>
11
+ /// Gets or sets the text of the message.
12
+ /// </summary>
13
+ /// <remarks>
14
+ /// This property is required and should contain text data.
15
+ /// The maximum length of the text is 250 characters.
16
+ /// </remarks>
17
[Required]
18
[DataType(DataType.Text)]
- [StringLength(200, ErrorMessage = "There's a 200 character limit on messages. Please shorten your message.")]
19
+ [StringLength(250, ErrorMessage = "There's a 250 character limit on messages. Please shorten your message.")]
20
public string Text { get; set; }
21
}
22
#endregion
0 commit comments