DynamicTableEntity DynamicTableEntity 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.WindowsAzure.Storage.Table.ITableEntity
type DynamicTableEntity = class
    interface ITableEntity
Public NotInheritable Class DynamicTableEntity
Implements ITableEntity
Inheritance
DynamicTableEntityDynamicTableEntityDynamicTableEntity
Implements

Constructors

DynamicTableEntity() DynamicTableEntity() DynamicTableEntity()

Initializes a new instance of the DynamicTableEntity class.

DynamicTableEntity(String, String) DynamicTableEntity(String, String) 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>) DynamicTableEntity(String, String, String, IDictionary<String,EntityProperty>) 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 ETag ETag

Gets or sets the entity's current ETag.

Item[String] Item[String] Item[String]

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

PartitionKey PartitionKey PartitionKey

Gets or sets the entity's partition key.

Properties Properties Properties

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

RowKey RowKey RowKey

Gets or sets the entity's row key.

Timestamp Timestamp Timestamp

Gets or sets the entity's timestamp.

Methods

ReadEntity(IDictionary<String,EntityProperty>, OperationContext) ReadEntity(IDictionary<String,EntityProperty>, OperationContext) 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) WriteEntity(OperationContext) WriteEntity(OperationContext)

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

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to