The title basically says it all... I'm trying to specify an auto-incrementing (int) identity column using Fluent-NHibernate and MySQL. I've tried the following variations...
Id(x => x.ID).GeneratedBy.Native();
Id(x => x.ID).GeneratedBy.Identity();
Id(x => x.ID).GeneratedBy.Increment();
...and tried setting default values on each.
Note: I'm using an int data type and have received errors such as...
"Input string was not in a correct format."
or...
"Field 'ID' does not have a default value'