Fluent NHibernate OptimisticLock.None() causes "The string 'none' is not a valid Boolean value."
- by David Thomas Garcia
I'm using the following mapping:
public class LoadMap : IAutoMappingOverride<Load> {
public void Override(AutoMapping<Load> mapping) {
mapping.HasMany(x => x.Bids).OptimisticLock.None();
mapping.Version(x => x.Version);
}
}
But when I try to create the session I get the following exception:
…