This question is locked. New answers and comments are not allowed.
I am auto-generating the DB from code and am getting the following error:
String or binary data would be truncated
... which is due to the string being a bit too long for the underlying SQL. I would like the column that's created to be nvarchar(max), however that setting seems to only be in the code-first configuration.
Here is the link I found regarding fluent configuration.
http://documentation.telerik.com/openaccess-orm/documentation/developers-guide/code-only-mapping/mapping-clr-types-properties-and-associations/advanced-mapping/backend-independent-mapping/fluent-mapping-mapping-clr-advanced-backend-independent-string-properties
String or binary data would be truncated
... which is due to the string being a bit too long for the underlying SQL. I would like the column that's created to be nvarchar(max), however that setting seems to only be in the code-first configuration.
Here is the link I found regarding fluent configuration.
http://documentation.telerik.com/openaccess-orm/documentation/developers-guide/code-only-mapping/mapping-clr-types-properties-and-associations/advanced-mapping/backend-independent-mapping/fluent-mapping-mapping-clr-advanced-backend-independent-string-properties