Hi,
I am mapping a column in a class twice (Fluentmapping):
References(x => x.Parent, "Parent_FKID").Index("IDX_Parent");
Map(x => x.ParentId, "Parent_FKID").Not.Insert().Not.Update().Access.None();
This gives an erorr when building the envers configuration in
ClassesAuditingData.UpdateCalculatedFields().
if (propertyAuditingData.ForceInsertable)
{
var referencedEntityName =
MappingTools.ReferencedEntityName(pc.GetProperty(propertyName).Value);
// referencedEntityName is null with propertyName =
ParentId -> exception when accessinf the dictionary
* var referencedClassAuditingData =
entityNameToAuditingData[referencedEntityName];*
forcePropertyInsertable(referencedClassAuditingData,
propertyAuditingData.MappedBy,
pc.EntityName, referencedEntityName);
Any possibility to work around that bug? Setting attribute [NotAudited] on
ParentId didn't help.
Thanks,
Peter
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.