Open kcadduk opened 3 years ago
At the minute, i've put this into the Settings.UpdateColumn
if (column.NameHumanCase.Equals("Version", StringComparison.InvariantCultureIgnoreCase))
{
column.IsRowVersion = true;
column.MaxLength = 0;
column.SqlPropertyType = "rowversion";
}
But I feel that this is a workaround of a bug perhaps?
I have a table with a Version column, defined as a timestamp column. (I know its deprecated, but this is older framework)
When it generates the configuration, it is generating the following
which fails on EF migrate because it throws an exception