Share via


ITableEntity Interface

Definition

An interface defining the required properties for a table entity model. Custom entity model types must implement this interface.

public interface ITableEntity
type ITableEntity = interface
Public Interface ITableEntity
Derived

Remarks

Two options exist for implementations of ITableEntity: Strongly typed custom entity model classes, and the provided TableEntity model.

Properties

ETag

Gets or sets the entity's ETag.

PartitionKey

The partition key is a unique identifier for the partition within a given table and forms the first part of an entity's primary key.

RowKey

The row key is a unique identifier for an entity within a given partition. Together the PartitionKey and RowKey uniquely identify every entity within a table.

Timestamp

The Timestamp property is a DateTime value that is maintained on the server side to record the time an entity was last modified. The Table service uses the Timestamp property internally to provide optimistic concurrency. The value of Timestamp is a monotonically increasing value, meaning that each time the entity is modified, the value of Timestamp increases for that entity. This property should not be set on insert or update operations (the value will be ignored).

Applies to