Browse by Tags

All Tags » C# (RSS)

LINQ to SQL Extension: Batch Deletion with Lambda Expression by JeffreyZhao

Batch deletion in the O/R Mapping frameworks is always depressing. If we want to make batch deletion with LINQ to SQL, we'll probably execute a SQL command in souce code. To avoid making batch deletion with SQL commands, I build an extension method for LINQ to SQL and now we can use lambda expression to indicate the entities shoud be deleted from the table in database....
More Posts