This question is locked. New answers and comments are not allowed.
Hello,
we have a performance problem when we loop a TrackedList in an ObjectContainer.
Normally we copy a single root element into the container and navigate over its properties to load other objects by the ResolveProxy into the container. All childs of the root element are represented by a proxy object in the container.
The ResolveProxy event will merge a child object into the container when we navigate on it.
Up to this point everything works fine.
The problem occurs when the child objects are in a list and we loop over the list all objects are fetched separately by the ResolveProxy.
One of our customers has filled up a list with thousands of objects, so it takes a very long time to copy each object separately into the ObjectContainer.
Now we want to copy the whole list in one piece into the container when it is accessed inside the Container. But it is necessary that the ResolveProxy event (ResolveProxyEventArgs/ProxyIdentity) deliver all ObjectIds of the objects in the list.
I have started a try with fetchgroups, but i didn't manage the ResolveProxyEventArgs to contain more than one ObjectId.
Is there a way to speed up this behavior?
Greetings
Carsten
we have a performance problem when we loop a TrackedList in an ObjectContainer.
Normally we copy a single root element into the container and navigate over its properties to load other objects by the ResolveProxy into the container. All childs of the root element are represented by a proxy object in the container.
The ResolveProxy event will merge a child object into the container when we navigate on it.
Up to this point everything works fine.
The problem occurs when the child objects are in a list and we loop over the list all objects are fetched separately by the ResolveProxy.
One of our customers has filled up a list with thousands of objects, so it takes a very long time to copy each object separately into the ObjectContainer.
Now we want to copy the whole list in one piece into the container when it is accessed inside the Container. But it is necessary that the ResolveProxy event (ResolveProxyEventArgs/ProxyIdentity) deliver all ObjectIds of the objects in the list.
I have started a try with fetchgroups, but i didn't manage the ResolveProxyEventArgs to contain more than one ObjectId.
Is there a way to speed up this behavior?
Greetings
Carsten