Replies: 4 comments 7 replies
-
You don't provide any context (version, runtime, number of entities ...), so there is not much to go on and it is difficult to say if it is slow or not. You should have no problem adding a few thousand entities per second, In general you should be able to expect the client side openria code to be faster than the actual saving on the server side (especially if you use entity framework 6). A common problem is to do (individual) Add on collections bound to the UI, for example if you display the contents of an EntitySet. To se what and why you think it is slow the best way is to start profiling your application and see where the time is spent. |
Beta Was this translation helpful? Give feedback.
-
Dear Svensson Sorry. Here some more information: Could it be that we should avoid adding new entities over the navigation property? I will try to add the new entities directly in the context to see if something will change. I will do a performance analysis and I can put the analysis here. Best regards, Alessandro |
Beta Was this translation helpful? Give feedback.
-
Dear Daniel I have made a performance analysis, during our add procedure: I hope it helps to see the problem. Best regards, Alessandro |
Beta Was this translation helpful? Give feedback.
-
The performance fixes are part of 5.4.3 which is now released |
Beta Was this translation helpful? Give feedback.
-
Is there a way to improve the adding of new entities on the client side?
It can happen in our application, that we need to create a lot of new entities on the client. Which then needs to be saved on the server.
Adding a lot of new entities in the context on the client takes forever.
At the moment we create the entity and we add it in the context.
Is there a suggestion on how to improve that?
Thanks,
Alessandro
Beta Was this translation helpful? Give feedback.
All reactions