Current code:
public class MyVersionConvention : IVersionConvention
{
public void Apply
(FluentNHibernate.Conventions.Instances.IVersionInstance instance)
{
instance.Column("RowVersion");
instance.Not.Nullable();
instance.UnsavedValue("0");
instance.Default(1);
}
}
However, the RowVersion is being treated as a regular column and not a
version column. The RowVersion property is defined as int in the base
class.
What else do I need to do make it a version column?
Thank you.
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fluent-nhibernate?hl=en.