If I have one object, ‘Student’, which will be associated with 2 ‘Course’ objects, I think I need to add the student to azure tables first with a partitionkey of ‘Class1_Student1’, and then again with ‘Class2_Student1’.
Considering this is the identical Student object with the exception of the PartitionKey, is this a duplicate object in azure? Or is this somehow recognized (by RowKey maybe?) as the same object?
So if I pull that student out of azure tables for any Course and update it, I would hope that I get that updated version for any other Course request.
How does Azure deal with this, and is there something I need to do to get the functionality I want?
In Windows Azure tables, the identity of an entity is its partition key and row key, so to Windows Azure, you have two completely unrelated students.
If you update one, it will have no impact on the other.
I can think of two strategies to get what I think you want: