Error!
Success!

Delete entity or collection in Linq to SQL without getting them

0
kicks

Delete entity or collection in Linq to SQL without getting them  (Unpublished)

In order to delete an entity or a collection of entity in Linq to SQL, you have to first get them and then delete them. This requires additional database roundtrip. Here's a strongly typed maintenance free way to delete entities directly using their primary key.


Kicked By:
Drop Kicked By: