How do I map a Version property using conventions (e.g. IClassConvention, AutomapperConfiguration)?
public abstract class Entity
{
...
public virtual int? Version { get; protected set; }
...
}
<class ...>
<version name="Version" column="version" generated="never" type="Int32" unsaved-value="0" />
</class>