question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add enum support to TableEntity

See original GitHub issue

Currently TableEntity skips enum properties from read/write operations. I think it should be pretty straightforward to add support to enums given that int/long values are supported.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:16
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

13reactions
pemari-msftcommented, Oct 13, 2017

We mirror the property types supported by the service, which is why it isn’t supported natively. We support it using the flatten methods. Thanks!

11reactions
LTsLlamacommented, Jan 9, 2018

This is so stupid, there is no warning or anything so if you forget to cast to int it just does not work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding TableEntity Enum Text Values to Azure Table Storage
Adding TableEntity Enum Text Values to Azure Table Storage ... This is a blog to help me remember some of the coding challenges...
Read more >
Storing a enum list in azure table storage
Select(s => (ExtractedType)Enum. ... ReadEntity and TableEntity. ... built-in serializer/deserializer and add in support for the List type.
Read more >
TableUpdateMode Enum (Azure.Data.Tables)
Defines the behavior of UpdateEntity<T>(T, ETag, TableUpdateMode, CancellationToken), UpdateEntityAsync<T>(T, ETag, TableUpdateMode, CancellationToken), ...
Read more >
C# – Storing a enum list in azure table storage
I am trying to store a list of enum object in Azure table storage but when ... public enum ExtractedType { Image, Video...
Read more >
Extension Method to Seed Enum Values into Database Table
Overview¶. When an enum is persisted in a database table, it is better if the Code First entity doesn't use a (SQL Server)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found