I have implemented an application which taking the data from csv file and inserting into Sql DB, i am using Linq to sql. also i have requirement of skiping those records whih are having some validation, to achive this i used a loop and inside the loop, calling submitchnages().
problem: this app is working for less number of records(<100) but in reality ill be getting csv file of more 3 - 4 lacs of record. I just simply ran my app against these big files, in result the app is taking long time (5 -6 hrs).
Please suggest any better approach.