DynamicTableEntity Class

Definition

A ITableEntity type which allows callers direct access to the property map of the entity. This class eliminates the use of reflection for serialization and deserialization.

public sealed class DynamicTableEntity : Microsoft.Azure.Cosmos.Table.ITableEntity
type DynamicTableEntity = class
    interface ITableEntity
Public NotInheritable Class DynamicTableEntity
Implements ITableEntity
Inheritance
DynamicTableEntity
Implements

Constructors

DynamicTableEntity()

Initializes a new instance of the DynamicTableEntity class.

DynamicTableEntity(String, String)

Initializes a new instance of the DynamicTableEntity class with the specified partition key and row key.

DynamicTableEntity(String, String, String, IDictionary<String,EntityProperty>)

Initializes a new instance of the DynamicTableEntity class with the entity's partition key, row key, ETag (if available/required), and properties.

Properties

ETag

Gets or sets the entity's current ETag.

Item[String]

Gets or sets the entity's property, given the name of the property.

PartitionKey

Gets or sets the entity's partition key.

Properties

Gets or sets the properties in the table entity, indexed by property name.

RowKey

Gets or sets the entity's row key.

Timestamp

Gets or sets the entity's timestamp.

Methods

ReadEntity(IDictionary<String,EntityProperty>, OperationContext)

Deserializes this DynamicTableEntity instance using the specified IDictionary<TKey,TValue> of property names to values of type EntityProperty.

WriteEntity(OperationContext)

Serializes the IDictionary<TKey,TValue> of property names mapped to values of type EntityProperty from this DynamicTableEntity instance.

Applies to