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

  • SEARCH
  • Home
  • 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 8176305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T23:07:10+00:00 2026-06-06T23:07:10+00:00

Storing data in Azure Table Services via TableServiceEntity you’re limited to usual basic types

  • 0

Storing data in Azure Table Services via TableServiceEntity you’re limited to usual basic types (int, string, datetime etc) that have public get/set.

There is none of the usual magic you’ve come to expect from serialization that deals with collections, complex types, inheritance etc.

Different ways of dealing with this could be

  • Hooking into the WritingEntity and ReadingEntity events to manually set properties (inc dealing with complex types using some serialization method to plain string property).
  • Similar to above but use an additional ‘storage class’ to translate between YourClass <-> YourClassStorage <-> TableServices
  • Using a framework such as Lokad.Cloud’s FatEntities or Lucifure

Have I missed anything? Which method may be best in which circumstances?

  • 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-06T23:07:14+00:00Added an answer on June 6, 2026 at 11:07 pm

    Inheritance is supported by the ATS. All inherited properties in the realized concrete class will be persisted and retrieved. However, complex types are indeed not supported.

    There is at least one more way of dealing with the persistence of object trees and object relationships:
    Store related objects separately under a different PartitionKey/RowKey.

    Simplest (brute force) way to implement that approach may require that you make multiple calls to ATS, so that you can deserialize objects properly.

    If the number of transactions performed against storage is more important than the storage space and bandwidth used, a more elegant extension of that approach would be to implement interfaces for your entities and create a “wide” Union entity that implements all those interfaces – and that’s the guy that is stored and retrieved. Each Union object that is retrieved is utilized through particular interface only. You can store collections as well as simply related entities this way – simply make sure your PartitionKey is the same for everyone who is related to the Union object and you have a way of identifying which Union object represents which entity type.

    HTH

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

Sidebar

Related Questions

I am storing my data in the Azure table. In the current working code
I get an odd error while batching data to Azure table storage. I have
I am working with Azure Table storage using the .NET API (TableServiceContext, WCF Data
I'm storing data in a HashMap with (key: String, value: ArrayList). The part I'm
I'm thinking of storing data from a form as a string, each answer separated
I am investigating different options for storing data for my Azure cloud app. I
What is the preferred/ usual way of storing data that is entered by the
I am storing data (approx. 1500 words) in SQL server 2005 through textbox and
In which cases storing data as XML is preferable to RDBMS and why? Can
I often find myself storing data in a mysql database, and then wanting to

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.