TableEntity Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the base object type for a table entity in the Table service.
public class TableEntity : Microsoft.Azure.Cosmos.Table.ITableEntity
type TableEntity = class
interface ITableEntity
Public Class TableEntity
Implements ITableEntity
- Inheritance
-
TableEntity
- Derived
- Implements
Remarks
TableEntity provides a base implementation for the ITableEntity interface that provides ReadEntity(IDictionary<String,EntityProperty>, OperationContext) and WriteEntity(OperationContext) methods that by default serialize and deserialize all properties via reflection. A table entity class may extend this class and override the ReadEntity(IDictionary<String,EntityProperty>, OperationContext) and WriteEntity(OperationContext) methods to provide customized or better performing serialization logic.
Constructors
TableEntity() |
Initializes a new instance of the TableEntity class. |
TableEntity(String, String) |
Initializes a new instance of the TableEntity class with the specified partition key and row key. |
Properties
DisablePropertyResolverCache |
Gets or sets the status of the property resolver cache for the TableEntity. |
ETag |
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. |
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. |