Hi, I have LLBLGen v5.9 Self-servicing model with Parent:Child table (1:N) and I have a code like this:
public partial class ChildEntity : ChildEntityBase
{
public override bool Save(IPredicate updateRestriction, bool recurse)
{
Logging.Log($"SAVE");
return base.Save(updateRestriction, recurse);
}
}
I test it with this code:
// The Save overwrite is called if I call Save directly
new ChildEntity(){ bla }.Save();
// The Save overwrite is not called if it is called indirectly
var parent = new ParentEntity(123);
parent.Child.Add(new ChildEntity(){ bla });
parent.Save(recurse: true);
Is that an intention? Why is it not called if I add the entity into the parent?
Thanks