File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
src/Application/src/RazorPagesTestSample/Data Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,19 @@ public class Message
7
7
{
8
8
public int Id { get ; set ; }
9
9
10
+ /// <summary>
11
+ /// Gets or sets the text of the message.
12
+ /// </summary>
13
+ /// <value>
14
+ /// The text content of the message, limited to 250 characters.
15
+ /// </value>
16
+ /// <remarks>
17
+ /// This property is required and must be a text data type. If the text exceeds 250 characters,
18
+ /// an error message will be displayed indicating the character limit.
19
+ /// </remarks>
10
20
[ Required ]
11
21
[ DataType ( DataType . Text ) ]
12
- [ StringLength ( 200 , ErrorMessage = "There's a 200 character limit on messages. Please shorten your message." ) ]
22
+ [ StringLength ( 250 , ErrorMessage = "There's a 250 character limit on messages. Please shorten your message." ) ]
13
23
public string Text { get ; set ; }
14
24
}
15
25
#endregion
You can’t perform that action at this time.
0 commit comments