Is there any way of telling fluent NHibernate not to use a column called [version] for concurrency checking? It seems to do this automagically if it finds a column called [version] - and in this case I do not what it t开发者_JS百科o.
Just set up an IVersionConvention
and add it to your conventions.
OK, I have found it is possible to inherit from the DefaultAutoMapConfiguration and override the IsVersion to always return false. This is effectively turning off versioning.
精彩评论