Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 24, 2012 08:51 PM by CodeHobo
Feb 24, 2012 08:35 PM|LINK
db.LogErrors.Remove( log );
Feb 24, 2012 08:51 PM|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");