I trying out Azure Table Storage and as an example are here a sample entry Model
public class MyEntity : TableEntity
{
public string MyStringProperty { get; set; }
public int MyIntProperty { get; set; }
[IgnoreProperty]
public int MySpecialProperty { get; set; }
}
The sample use the [IgnoreProperty] provided by the framework but can it really be true that you can't decorate the rest of the Properties with a [Name("")] Attribute or similar so the code is refactor-safe?. I've tried to use dataMember, JsonProperty but nothing seems to be picked up by the framework.
Table Storage SDK only offers two attributes IgnoreProperty and EncryptProperty(this property only available in .Net Framework). Like what you have found, attributes come from other SDK are not honored.
It's reasonable to say table entity is designed not to work with other attributes so that everything is under control strictly. We can overwrite method of TableEntity to read and write entity based on our requirements.