Search documentationEsc

IItem

The base interface used for all repository object or object graphs.

Namespace: Microsoft.Azure.CosmosRepository
Kind: interface

The base interface used for all repository object or object graphs.

public interface IItem

Example

Members

Propertys

IItem.Id

Gets or sets the item’s globally unique identifier.

string Id { get; set; }

ReturnsString

IItem.Type

Gets or sets the item’s type name.

string Type { get; set; }

ReturnsString

IItem.PartitionKey

Gets the item’s PartitionKey. This string is used to instantiate the Cosmos.PartitionKey struct.

string PartitionKey { get; }

ReturnsString