共用方式為


StoreAs Interface

public interface StoreAs

An annotation used to override the name a property is serialized and deserialized with using reflection. Use this annotation to specify the property name to associate with the data stored by a setter method or retrieved by a getter method in a class implementing TableEntity that uses reflection-based serialization and deserialization. Note that the names "PartitionKey", "RowKey", "Timestamp", and "Etag" are reserved and will be ignored if set with the annotation.

Example:

This example shows how the methods that would get and set an entity property named ObjectPropertyName in the default case can be annotated to get and set an entity property named EntityPropertyName. See the documentation for TableServiceEntity for more information on using reflection-based serialization and deserialization.

Method Summary

Modifier and Type Method and Description
String name()

Method Details

name

public String name()

Applies to