EN
Dette innholdet er ikke tilgjengelig på ditt språk, men her er den engelske versjonen.
Dette emnet er ennå ikke vurdert - Vurder dette emnet

ITableEntity Interface

An interface required for table entity types. The ITableEntity interface declares getter and setter methods for the mandatory entity properties, and ReadEntity and WriteEntity methods for serialization and de-serialization of all entity properties using a property dictionary. Create classes implementing ITableEntity to customize property storage, retrieval, serialization and de-serialization, and to provide additional custom logic for a table entity.

Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
'Bruk
Dim instance As ITableEntity

public interface ITableEntity
public interface ITableEntity
public interface ITableEntity

The Storage client library includes two implementations of ITableEntity that provide for simple property access and serialization:

DynamicTableEntity implements ITableEntity and provides a simple property dictionary to store and retrieve properties. Use a DynamicTableEntity for simple access to entity properties when only a subset of properties are returned (for example, by a select clause in a query), or for when your query can return multiple entity types with different properties. You can also use this type to perform bulk table updates of heterogeneous entities without losing property information.

TableEntity is an implementation of ITableEntity that uses reflection-based serialization and de-serialization behavior in its ReadEntityand WriteEntity methods. TableEntity-derived classes with methods that follow a convention for types and naming are serialized and de-serialized automatically. TableEntity-derived classes must also provide a get-able and set-able public property of a type that is supported by the Windows Azure Table Service.


Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

Target Platforms

Vurderte du dette som nyttig?
(1500 tegn igjen)
© 2013 Microsoft. Med enerett.
facebook page visit twitter rss feed newsletter