protected override Expression <Func <DecoratorListAssociation, bool> > FindExisting(DecoratorListAssociation record) => existing => existing.DecoratorId == record.DecoratorId && existing.DecoratorListId == record.DecoratorListId;
protected override IEnumerable <object> EnumerateReferences(DecoratorListAssociation record) { yield return(record.Decorator); yield return(record.DecoratorList); }