Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

Saving many objects in db with Entity Framework (EF) takes too long

$
0
0

Hi asp.net,

I am reading a large number of objects from .XML file. It takes too long right now, ie. for 12 objects takes 1 minute to save them into db with Entity Framework (EF).

As it is right now Saving 1200 objects takes 100 minutes which is not acceptable.

How can I make this saving process faster (optimized)?

Any suggestions?

Best Regards

Kourosh


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>