SaveContext very slow

Thread is closed for posting
2 posts, 0 answers
  1. Armin
    Armin avatar
    11 posts
    Member since:
    Feb 2011

    Posted 13 Jan 2012 Link to this post

    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.

  2. Zoran
    Zoran avatar
    534 posts

    Posted 17 Jan 2012 Link to this post

    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.

    the Telerik team

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

Back to Top