You are currently browsing legacy 4.1 version of documentation. Click here to switch to the newest 4.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Operations: How to Get Identities

GetIdentitiesOperation is used to return a dictionary which maps from the collection name to the identity value.

Syntax

public GetIdentitiesOperation()

Example

Dictionary<string, long> identities = store.Maintenance.Send(new GetIdentitiesOperation());