An interface required for table entity types. The ITableEntity interface declares getter and setter methods for the mandatory entity properties, and ReadEntity and WriteEntity methods for serialization and de-serialization of all entity properties using a property dictionary. Create classes implementing ITableEntity to customize property storage, retrieval, serialization and de-serialization, and to provide additional custom logic for a table entity.
The following tables list the members exposed by the ITableEntity type.
Public Properties
Name | Description | |
---|---|---|
ETag | Gets or sets the entity's current ETag. Set this value to '*' in order to blindly overwrite an entity as part of an update operation. | |
PartitionKey | Gets or sets the entity's partition key. | |
RowKey | Gets or sets the entity's row key. | |
Timestamp | Gets or sets the entity's timestamp. |
Public Methods
Name | Description | |
---|---|---|
ReadEntity | Populates the entity's properties from the EntityProperty data values in the properties dictionary. | |
WriteEntity | Serializes the IDictionary of property names mapped to EntityProperty data values from the entity instance. |