Tajmara

Tajmara

  • NA
  • 286
  • 57.4k

HELP HELP..entity framework inserting duplicate records mvc?

Sep 12 2018 6:00 AM
ex : 
foreach()
{
data; 
}
\\only insert list of zero items record only.but it inserting dublicate records....
 currentdb.saveentity(listof[0]items, true);
 
 
but it inserting  duplicate records in mvc.
please help me.previously if anybody faced this type of issue.please give me a code.
please provide code this.thank you for your time..
 

Answers (2)