joejoejoe wrote:
Try adding insert=true update=true to this line
<set name="Bs" lazy="true" cascade="save-update" inverse="true">
Seems insert is not a valid of the nhib 1.2 schema:
NHibernate.MappingException: The 'insert' attribute is not declared. ---> System
.Xml.Schema.XmlSchemaException: The 'insert' attribute is not declared.
at NHibernate.Cfg.Configuration.ValidationHandler(Object o, ValidationEventAr
gs args)
at System.Xml.Schema.BaseValidator.SendValidationEvent(XmlSchemaException e,
XmlSeverityType severity)
at System.Xml.Schema.XsdValidator.ValidateStartElement()
at System.Xml.Schema.XsdValidator.ProcessElement(Object particle)