Represents the base object type for a table entity in the Table service.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Inheritance Hierarchy
System.::..ObjectMicrosoft.WindowsAzure.Storage.Table.::..TableEntity
Microsoft.WindowsAzure.Storage.Analytics.::..CapacityEntity
Microsoft.WindowsAzure.Storage.Analytics.::..MetricsEntity
Syntax
Constructors
Name | Description | |
---|---|---|
TableEntity()()()() | Initializes a new instance of the TableEntity class. | |
TableEntity(String, String)(String^, String^)(String, String)(String, String) | Initializes a new instance of the TableEntity class with the specified partition key and row key. |
Properties
Name | Description | |
---|---|---|
ETagETagETagETag | Gets or sets the entity's ETag. Set this value to '*' in order to force an overwrite to an entity as part of an update operation. | |
PartitionKeyPartitionKeyPartitionKeyPartitionKey | Gets or sets the entity's partition key. | |
RowKeyRowKeyRowKeyRowKey | Gets or sets the entity's row key. | |
TimestampTimestampTimestampTimestamp | Gets or sets the entity's timestamp. |
Methods
Remarks
TableEntity provides a base implementation for the ITableEntity interface that provides ReadEntity and WriteEntity methods that by default serialize and deserialize all properties via reflection. A table entity class may extend this class and override the ReadEntity and WriteEntity methods to provide customized or better performing serialization logic.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.