GraphExtensions Class

Definition

This class provides extension methods for creating Graph queries of type IDocumentQuery<T>. These queries will execute against Azure DocumentDB collection.

public static class GraphExtensions
Inheritance
GraphExtensions

Remarks

The class extends DocumentClient class to enable you to express graph traversal and CRUD operations over data persisted in a Azure DocumentDB collection. The returned IDocumentQuery<T> objects wrap the actual query execution, and enumerating these objects forces Azure DocumentDB queries to be executed.

Methods

CreateGremlinQuery(DocumentClient, DocumentCollection, String, FeedOptions, GraphSONMode)

Method to create a Gremlin expression to create/query graph elements stored under an Azure CosmosDB collection.

CreateGremlinQuery<T>(DocumentClient, DocumentCollection, String, FeedOptions, GraphSONMode)

Method to create a Gremlin expression to create/query graph elements stored under an Azure CosmosDB collection.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)