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 8281653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:06:31+00:00 2026-06-08T10:06:31+00:00

I am working with an application where a .NET type derived from TableServiceObject being

  • 0

I am working with an application where a .NET type derived from TableServiceObject being saved to Azure Table Storage (call it “Person”) has a collection of another entity (“events”). Of course, the collection property doesn’t save to Azure Table Storage.

What I would like to do is have a variable number of properties on a Person storage entity, and create a new property whenever necessary. For example, if Person1 has attended 1 event before, and attends a new event, my code needs to go create an “Event2” property for the Person1 entity, and save the pointer to the storage location of Event2 in that property. Person1 then has 2 “event” properties, but another entity in that table may have 10 (event1, event2, event3 … event10).

Because the Person class is mapped directly to the Azure Tables, which automatically creates a property for every public property in the class, I can’t find a way to dynamically add the Event2 property to this saved entity without creating a permanent property on my class, which I don’t want to do. Is there a way?

The purpose of wanting to store this “jagged” set of properties is to allow me to go get all the events a person has been to, without doing an entire scan on the partition where the events are stored.

Thanks!

Update: Smarx was correct – once I knew what to look for, it was easy to find this description of how to use the ReadingEntity and WritingEntity events in the Azure Table Service:
http://convective.wordpress.com/2009/12/30/entities-in-azure-tables/

  • 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-08T10:06:34+00:00Added an answer on June 8, 2026 at 10:06 am

    I’m assuming you’re using .NET, because you mentioned classes mapping to entities in tables. Table storage itself has no schema, so this is a complete non-issue.

    Using the WCF Data Services client library (what’s underneath Microsoft.WindowsAzure.Storage) without a schema is a bit tricky. Search for ReadingEntity and WritingEntity relating to table storage, and you’ll probably find what you need. Essentially, you need to hook these events and parse (or inject) the extra properties you want. People usually do this by creating a dictionary property to handle those “extra” properties and then read and write them when those events fire.

    You might also check out http://www.lucifure.com/, an alternative client library that I have no experience with. I believe it addresses this limitation too: “Dynamic stashing via a dictionary, so you do not have to map every table property to a class member.”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on asp.net application and I have generated entity model (edmx) from
I'm working on a .Net application that needs to read from an Oracle 10g
I'm working with an asp.net application that produces large PDF documents from HTML. The
Suppose this simple scenario: My client has an already working .net application and he/she
The context I'm working with a Winforms application (.NET 3.5 SP1) which has the
I'm working on a client-server application (.NET 4, WCF) that must support backwards compatibility.
i am newbie to mongoDB ,as i start working with test application (ASP.Net) found
I'm trying to check what framework version a other .NET application is working with
When working with an ASP.NET application in Visual Studio 2008, my errors window often
When working with an ASP.Net application, when I rebuild the solution, I would like

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.