Click here to Skip to main content
15,074,377 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, In my web application i am using Linq to entity framework,
in one the code i am inserting data into 10 tables and callign SaveChanges() method,
It is taking around 13 seconds to execute this method alone,
how can i increase the performance of this

thanks in advance
Posted
Comments
R. Giskard Reventlov 23-Feb-11 7:02am
   
Not enough information to enable an answer: need to know how you are doing it. Might also be you have a poor connection to the database or any number of other reasons. You need to clarify.

1 solution

Hi,

You need use Linqpad to improve/finetune your query. You can download linqpad from here[^]. Also follow the guidelines discussed below
http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html[^]

Hope this will help.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900