Table of Contents

Class GraphQLDataProvider

Namespace
combit.Reporting.DataProviders
Assembly
combit.ListLabel31.CrossPlatform.dll

Provides a data provider implementation for GraphQL endpoints. Implements IDataProvider, ICanHandleUsedIdentifiers, ISupportsLogger, combit.Reporting.DataProviders.ISupportsParameters, ICanHandleUsedRelations, ISupplyBaseTables, and IDisposable.

public sealed class GraphQLDataProvider : IDataProvider, ICanHandleUsedIdentifiers, ISupportsLogger, ICanHandleUsedRelations, ISupplyBaseTables, IDisposable
Inheritance
GraphQLDataProvider
Implements
Inherited Members

Constructors

GraphQLDataProvider(string, NetworkCredential, string?)

Initializes a new instance of the GraphQLDataProvider class with the specified URL, network credentials, and an optional schema.

public GraphQLDataProvider(string url, NetworkCredential networkCredential, string? schema = null)

Parameters

url string

The URL of the GraphQL endpoint.

networkCredential NetworkCredential

The network credentials for authentication.

schema string

The optional GraphQL schema as a string.

GraphQLDataProvider(string, NetworkCredential, string, string, string?)

Initializes a new instance of the GraphQLDataProvider class with the specified parameters.

public GraphQLDataProvider(string url, NetworkCredential networkCredential, string localMetadataFilePath, string queryPrefix = "Q_", string? schema = null)

Parameters

url string

The URL of the GraphQL endpoint.

networkCredential NetworkCredential

The network credentials for authentication.

localMetadataFilePath string

The local file path to a metadata file used for schema initialization.

queryPrefix string

The prefix used when naming queries.

schema string

The optional GraphQL schema as a string.

GraphQLDataProvider(string, string?)

Initializes a new instance of the GraphQLDataProvider class with the specified URL and an optional schema.

public GraphQLDataProvider(string url, string? schema = null)

Parameters

url string

The URL of the GraphQL endpoint.

schema string

The optional GraphQL schema as a string.

Properties

ConnectionTimeout

Gets or sets the connection timeout (in seconds) for GraphQL requests.

public int ConnectionTimeout { get; set; }

Property Value

int

Headers

Gets the HTTP request headers that will be used for GraphQL requests.

public HttpRequestHeaders Headers { get; }

Property Value

HttpRequestHeaders

MaximumEmbeddedFieldDepth

Gets or sets the maximum depth allowed for embedded fields.

public int MaximumEmbeddedFieldDepth { get; set; }

Property Value

int

MutationsTypeName

Gets or sets the type name for mutations.

public string MutationsTypeName { get; set; }

Property Value

string

NetworkCredential

Gets the network credentials used to access the GraphQL endpoint.

public NetworkCredential NetworkCredential { get; }

Property Value

NetworkCredential

QueriesTypeName

Gets or sets the type name for queries.

public string QueriesTypeName { get; set; }

Property Value

string

QueryPrefix

Gets or sets the prefix used for naming queries.

public string QueryPrefix { get; set; }

Property Value

string

Schema

Gets or sets the GraphQL schema.

public string Schema { get; set; }

Property Value

string

SupportedElementTypes

Gets or sets the supported GraphQL element types.

public GraphQLElementType SupportedElementTypes { get; set; }

Property Value

GraphQLElementType

Url

Gets or sets the URL of the GraphQL endpoint.

public string Url { get; set; }

Property Value

string

Methods

Dispose()

Releases all resources used by the GraphQLDataProvider.

public void Dispose()