How can I assign ms sql server data type nvarchar max length in model class attribute.
Suppose I have one attribute, StudentName
[Required]
[MinLength(5)]
[MaxLength(200)]
public string StudentName { get; set; }
How can I make StudentName datatype as nvarchar max?