Share via


StorageData.Id Property

 

The id is composed by combining the M:PartitionKey and the M:RowKey using a CompositeTableKey instance which serializes the partition key and row key as a comma separated tuple of values. By setting this property, the partition key and row key will also get updated. As such the id property itself is not mapped to the actual storage table as it strictly contains the same information provided by the partition key and row key.

Namespace:   Microsoft.WindowsAzure.Mobile.Service
Assembly:  Microsoft.WindowsAzure.Mobile.Service.Storage (in Microsoft.WindowsAzure.Mobile.Service.Storage.dll)

Syntax

[NotMappedAttribute]
[IgnorePropertyAttribute]
public string Id { get; set; }
public:
[NotMappedAttribute]
[IgnorePropertyAttribute]
property String^ Id {
    virtual String^ get() sealed;
    virtual void set(String^ value) sealed;
}
[<NotMappedAttribute>]
[<IgnorePropertyAttribute>]
abstract Id : string with get, set
[<NotMappedAttribute>]
[<IgnorePropertyAttribute>]
override Id : string with get, set
<NotMappedAttribute>
<IgnorePropertyAttribute>
Public Property Id As String

Property Value

Type: System.String

Implements

ITableData.Id

See Also

StorageData Class
Microsoft.WindowsAzure.Mobile.Service Namespace

Return to top