Different manager per entity

Migrating topic from non-technical.

Hi there,

im pretty new to aurelius and sometimes struggeling with the memory management (object freed twice...).

Just for clarification. Do i have (/ is it best) to use different Managers per Entity, or can i use the same manager for different entities (TOrder/ TOrderItems) within the same procedure?

thanks in advance
best regards

Same manager with different entities. It's basic usage, as entities are associated to each other (e.g., an invoice has a customer) so it would be pretty useless to have one entity per manager.