Delete multiple records with Linq

  • Thread starter Thread starter Arjen
  • Start date Start date
A

Arjen

Hi,

How can I delete multiple records with Linq?

On the internet I found the DeleteAll function, but this one does not exist
in my library.

Please help me out.

Thanks!
 
Dude,

First things first. as the abbreviation of LINQ is Language INtegrated
QUERY. which is majorly targeted for QUERYing, but not for all the CRUD
operations.

secondly, as mentioned in SCOTT's blog, you have to narrow done to that
SINGLE record using expression, then use the DELETEALL ..

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

linq troubles 5
Delete Record with LINQ 3
cross database linq 0
Question about LinQ (LinQ to Sql) 4
Linq. Delete Record 2
WPF/LINQ to SQL DataContext Best Practices 1
Linq - basic simple Answer 9
Linq 6

Back
Top