Fluent NHibernate/SQL Server 2008 insert query problem
- by Mark
Hi all,
I'm new to Fluent NHibernate and I'm running into a problem.
I have a mapping defined as follows:
public PersonMapping()
{
Id(p => p.Id).GeneratedBy.HiLo("1000");
Map(p => p.FirstName).Not.Nullable().Length(50);
Map(p => p.MiddleInitial).Nullable().Length(1);
Map(p =>…