Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

TableEntity Class (Microsoft.WindowsAzure.Storage.Table)

Represents the base object type for a table entity in the Table service.

Namespace:   Microsoft.WindowsAzure.Storage.Table
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Inheritance Hierarchy

System.::..Object
  Microsoft.WindowsAzure.Storage.Table.::..TableEntity
    Microsoft.WindowsAzure.Storage.Analytics.::..CapacityEntity
    Microsoft.WindowsAzure.Storage.Analytics.::..MetricsEntity

Syntax

 
public class TableEntity : ITableEntity
 
public ref class TableEntity : ITableEntity
 
type TableEntity = 
    class
        interface ITableEntity
    end
 
Public Class TableEntity
	Implements ITableEntity

Constructors

NameDescription
System_CAPS_pubmethodTableEntity()()()()

Initializes a new instance of the TableEntity class.

System_CAPS_pubmethodTableEntity(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

NameDescription
System_CAPS_pubpropertyETagETagETagETag

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.

System_CAPS_pubpropertyPartitionKeyPartitionKeyPartitionKeyPartitionKey

Gets or sets the entity's partition key.

System_CAPS_pubpropertyRowKeyRowKeyRowKeyRowKey

Gets or sets the entity's row key.

System_CAPS_pubpropertyTimestampTimestampTimestampTimestamp

Gets or sets the entity's timestamp.

Methods

NameDescription
System_CAPS_pubmethodEquals(Object)(Object^)(Object)(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()()()()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()()()()

(Inherited from Object.)

System_CAPS_pubmethodGetType()()()()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()()()()

(Inherited from Object.)

System_CAPS_pubmethodReadEntity(IDictionary<String, EntityProperty>, OperationContext)(IDictionary<String^, EntityProperty^>^, OperationContext^)(IDictionary<String, EntityProperty>, OperationContext)(IDictionary(Of String, EntityProperty), OperationContext)

Deserializes the entity using the specified IDictionary<TKey, TValue><TKey, TValue><'TKey, 'TValue>(Of TKey, TValue) that maps property names to typed EntityProperty values.

System_CAPS_pubmethodSystem_CAPS_staticReadUserObject(Object, IDictionary<String, EntityProperty>, OperationContext)(Object^, IDictionary<String^, EntityProperty^>^, OperationContext^)(Object, IDictionary<String, EntityProperty>, OperationContext)(Object, IDictionary(Of String, EntityProperty), OperationContext)

Deserializes a custom entity instance using the specified IDictionary<TKey, TValue><TKey, TValue><'TKey, 'TValue>(Of TKey, TValue) of property names to EntityProperty data typed values.

System_CAPS_pubmethodToString()()()()

(Inherited from Object.)

System_CAPS_pubmethodWriteEntity(OperationContext)(OperationContext^)(OperationContext)(OperationContext)

Serializes the IDictionary<TKey, TValue><TKey, TValue><'TKey, 'TValue>(Of TKey, TValue) of property names mapped to EntityProperty data values from this TableEntity instance.

System_CAPS_pubmethodSystem_CAPS_staticWriteUserObject(Object, OperationContext)(Object^, OperationContext^)(Object, OperationContext)(Object, OperationContext)

Create a IDictionary<TKey, TValue><TKey, TValue><'TKey, 'TValue>(Of TKey, TValue) of EntityProperty objects for all the properties of the specified entity object.

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.

Return to top