TableEntity Class
EN
Dette indhold er ikke tilgængeligt på dit sprog, men her er den engelske version.

TableEntity Class

 

Updated: April 11, 2016

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)


public class TableEntity : ITableEntity

NameDescription
System_CAPS_pubmethodTableEntity()

Initializes a new instance of the TableEntity class.

System_CAPS_pubmethodTableEntity(String, String)

Initializes a new instance of the TableEntity class with the specified partition key and row key.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticDisableCompiledSerializers

Disables the ability to dynamically generate read and write lambdas at runtime. Setting this to false will clear out the static cache shared across all type instances that derive from TableEntity.

System_CAPS_pubpropertySystem_CAPS_staticDisablePropertyResolverCache

Gets or sets the status of the property resolver cache for the TableEntity.

System_CAPS_pubpropertyETag

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_pubpropertyPartitionKey

Gets or sets the entity's partition key.

System_CAPS_pubpropertyRowKey

Gets or sets the entity's row key.

System_CAPS_pubpropertyTimestamp

Gets or sets the entity's timestamp.

NameDescription
System_CAPS_pubmethodEquals(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)

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

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

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

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodWriteEntity(OperationContext)

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

System_CAPS_pubmethodSystem_CAPS_staticWriteUserObject(Object, OperationContext)

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

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.

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
Vis:
© 2016 Microsoft