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.
파일 보기 프로젝트 열기: rafek/SyncFx 1 사용 예제들

공개 메소드들

메소드 설명
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