FluentNHibernate set default column value for a bool
.net, fluent-nhibernate, sql-server-2005
Solution
Have you tried something like this
this.Map(x => x.SomeBitColumn)
.Access.Property()
.Default("1");
Problem
How to set with FluentNHibernate the default value of 1 or 0 for a BIT column of the table generated from my entity for the field of type bool. I think it doesn't matter but in any case the database is sqlserver2005.