Why does ormlite require to name my version row RowVersion?
Check in code looks like this:
var isRowVersion = propertyInfo.Name == ModelDefinition.RowVersionName
&& propertyInfo.PropertyType == typeof(ulong);
and this implementation
var isRowVersion = propertyInfo.FirstAttribute<RowVersionAttribute>();
would be much more elegant and flexible (RowVersionAttribute already exists in ServiceStack.DataAnnotations) this would allow for usage byte[] as field type and would make it easier to move from Entity Framework.
Why is ModelDefinition.RowVersionName constant, and not static property or lambda, at least it would be possible to use different names. Is it possible to use columns with different name than RowVersion at the moment?
thanks
ROWVERSION.... - marc_s