Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8164723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:22:47+00:00 2026-06-06T19:22:47+00:00

If I have one object, ‘Student’, which will be associated with 2 ‘Course’ objects,

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T19:22:48+00:00Added an answer on June 6, 2026 at 7:22 pm

    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:

    1. Normalize. In the relational database world, this is standard practice. In each “course,” you would just have a reference to Student1. In a “students” table, each student would only appear once.
    2. Maintain the denormalized scheme yourself. Because there are no cross-partition transactions in Windows Azure tables, this is tricky to do. I recommend using a queue… each change (“update Student1’s address to be foo”) needs to go on a queue, and the queue message is only deleted after all updates have been done (across all relevant courses). This way if your process dies in the middle of updating a student, the work can be picked up and finished later.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have one video object and 3 thumbnails which, when clicked, will play different
I wanted my application to just have one TimeZone object which will be used
Lets say that I have one component which is doing something with Workbook object
Image a couple of objects for which one property can have 3 possible values.
Have one object of type A that is related to a bunch of objects
it's possible to have one entity object (class, e.g. User) for more entity models
I have one very general object that I want to map to a destination
Is it good practice to have one shared SqlConnection object in a .NET application
I have one page with a Silverlight object on it, and many times when
I have one collection numbers with 200000 document object with {number: i} i =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.