Using entity framework, I need to delete records from a single table based upon a unique column Id.
I have alot of data which I need to update in a single database table. Really it makes more sense for me to just delete all of the data, and to insert new data.
In entity framework how do I delete records based upon a Single Id, and also, how can I implement a Rollback in case the delete, insert new fails ?