ok thanks, I’ve changed the Max String definition for MySql to use LONGTEXT in this commit. This change is available from v4.0.53 that’s now on MyGet.
There’s also the [Text] attribute to specify to use TEXT column and to use MEDIUMTEXT you’ll need to use the [CustomField] attribute to specify a custom column definition, e.g:
class MyTable
{
[StringLength(int.MaxValue)] //= LONGTEXT
public string MaxText {get; set;}
[Text] //= TEXT
public string Text { get; set; }
[CustomField("MEDIUMTEXT")] //= MEDIUMTEXT
public string MediumText { get; set; }
}