The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

ironwill2000 (1) [Avatar] Offline
Good day,

I am having trouble updating the code from the example in Pages 261/262 to the updated form in Pages 278/279. The code on Page 278 does not match the previous example and I think there could possibly be some error as the entity variable was before used to hold the result from the LINQ query and in the updated part it used as a TableServiceContext.

Can you give a more complete or updated listing of the "lightweight delete" code shown in the top section of page 279 using the StorageClient library? I keep getting the following error when trying to delete the entity-

"The context is not currently tracking the entity."

Many thanks.