I am a newbie in Azure so I read the Microsoft TableOperation.Merge Method.
Creates a new table operation that merges the contents of the given entity with the existing entity in a table.
That is all... Now, what should I understand from the "merge" concept? How exactly this Merge happens.
Say I have
Body {PK: b, RK: 1, LeftHand: null, RightHand: 1000, LeftLeg: ll} >
Body {PK: b, RK: 1, LeftHand: 9999, RightHand: null, Head: h}
- What happens with empty/null values?
- What happens if the item is not found?
- What kind of exceptions should I expect?
- What is the difference between InsertOrMerge and Merge?
How can I guess ?
Merge
operation actually creates a superset. To put it simply:So in your example:
Old Entity:
New Entity:
Entity After Merge Operation: