score:0

using (var context = new jitbmodel())
{


  var duplicates= context.backupevents
    .groupby(x => x.full)
    .where(grp => grp.count() > 1)
    .select(grp=>grp.firstordefault());

  context.backupevents.removerange(duplicates);
  context.savechanges();

}

Related Query

More Query from same tag