Skip to the content.

< Back


IQuery

Namespace: GraphQL.Query.Builder

The query interface.

public interface IQuery

Attributes NullableContextAttribute

Properties

Name

Gets the query name.

public abstract string Name { get; }

Property Value

String

AliasName

Gets the alias name.

public abstract string AliasName { get; }

Property Value

String

Methods

Build()

Builds the query.

string Build()

Returns

String
The GraphQL query as string, without outer enclosing block.

Exceptions

ArgumentException
Must have a ‘Name’ specified in the Query

ArgumentException
Must have a one or more ‘Select’ fields in the Query


< Back