To resolve this issue you need to set the GeneratedBy property to "Not" in your map class.
Example:
Id(g => g.property).GeneratedBy.Assigned().Column("IntegerIdColumn");
Fluent NHibernate is an impressive and terrific library, sadly, it is terribly bad documented so easy problems like this become big time consuming issues. :(
No hay comentarios:
Publicar un comentario