I'm working on a project that just inserts relatively large number of records (250K records, just 2 columns) using Entity Framework code-first..
But it takes too much time to write all the records to the database (2~3 hrs)!
Is it because Entity framework is slow with large number or records or what ?
P.S.
Code snippet:
foreach (var t in myCollection)
{
Db.Words.Add(t);
Db.SaveChanges();
}