Last post Feb 24, 2012 08:51 PM by CodeHobo
Feb 24, 2012 08:35 PM|eric2820|LINK
db.LogErrors.Remove( log );
Feb 24, 2012 08:51 PM|CodeHobo|LINK
If you want to use straight linq, I believe you have to do them one at a time like you have above.
Have you tried using inline sql? this is faster
db.Database.ExecuteSqlCommand("Truncate table LogErrors");