This is a migrated thread and some comments may be shown as answers.

SaveContext very slow

1 Answer 73 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Armin
Top achievements
Rank 1
Armin asked on 13 Jan 2012, 10:19 AM
I got a Problem in my Case:

I Add one object to the Context and one object has change(1 insert , 1 update) and the SaveChanges is very slow waht can i do ?

I´m new at ORM and mý Englisch is not very well.

1 Answer, 1 is accepted

Sort by
0
Zoran
Telerik team
answered on 17 Jan 2012, 05:39 PM
Hi Armin,

 This sounds like a more complex problem not related to the operations that you have performed. The fact you have performed 1 insert and 1 update operation is not an issue causing the SaveChanges() call to be executed slowly.

There are number of reasons that can cause such behavior and they could be related to the database connection or something specific to your particular domain model.

The only way for us to help you resolve this issue is to have more information regarding the scenario from your side. How do the classes that you insert and update look like? What is the exact code that you execute when you observe this behavior.

Greetings,
Zoran
the Telerik team

SP1 for Q3’11 of Telerik OpenAccess ORM is available for download

Tags
Development (API, general questions)
Asked by
Armin
Top achievements
Rank 1
Answers by
Zoran
Telerik team
Share this question
or