How to use ETag to throw exception on insert if ETag doesn't match (except when it's *)
问题 I need to be able to insert an entity to an azure storage table under these conditions: if it doesn't exist, insert. if it exists, but I specify ETag to be *, then replace. if it exists, but ETag has another value, then throw StorageException with code 409 or 412. (for example I would try to insert an entity I have retrieved, but it has been updated from elsewhere in the meantime) I made this simple program to test, but I can't figure out how to get this to work. it never reaches the