I have a class with a string property where max length is 65536 (i.e., nvarchar(max) in the database). When I try to update or insert into this field a character string with length > 65536, I get the error:
"The specified value did not conform to the maximum length requirements".
"The specified value did not conform to the maximum length requirements".