C# Класс Microsoft.Samples.Synchronization.ClientServices.OfflineEntityMetadata

Class that represents the metadata required for the sync protocol to work correctly. Applications should not change these properties except when required by the protocol (the Id will change for an item that is inserted for the first time). The exception to this is the IsTombstone property, which should be set when the application is using a custom store and an item is being deleted. Applications using the IsolatedStorageOfflineContext should never set any properties.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
OfflineEntityMetadata ( ) : System

Public constructor for the metadata

OfflineEntityMetadata ( bool isTombstone, string id, string etag, Uri editUri ) : System

Public constructor for the metadata which takes parameters for the metadata.

Приватные методы

Метод Описание
Clone ( ) : OfflineEntityMetadata

Used while creating Snapshot to do a depp copy of the original copy's metadata

Описание методов

OfflineEntityMetadata() публичный Метод

Public constructor for the metadata
public OfflineEntityMetadata ( ) : System
Результат System

OfflineEntityMetadata() публичный Метод

Public constructor for the metadata which takes parameters for the metadata.
public OfflineEntityMetadata ( bool isTombstone, string id, string etag, Uri editUri ) : System
isTombstone bool Whether or not the entity is a tombstone
id string Sync id for the item
etag string Item's OData ETag
editUri System.Uri Item's OData Edit Uri
Результат System