Table of Contents

Class QueryFactoryResult

Namespace
ToSic.Eav.DataSource.Query.Sys
Assembly
ToSic.Eav.DataSource.dll

Structure to hold the result of building a query, containing the main data source and any other sources involved.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public record QueryFactoryResult : IEquatable<QueryFactoryResult>
Inheritance
object
QueryFactoryResult
Implements

Constructors

QueryFactoryResult(IDataSource, Dictionary<string, IDataSource>)

Structure to hold the result of building a query, containing the main data source and any other sources involved.

public QueryFactoryResult(IDataSource Main, Dictionary<string, IDataSource> DataSources)

Parameters

Main IDataSource

The primary data source resulting from the query. This is typically the main or exit point accessed by consumers.

DataSources Dictionary<string, IDataSource>

A collection of all data sources produced by the query, keyed by their names.

Properties

DataSources

A collection of all data sources produced by the query, keyed by their names.

public Dictionary<string, IDataSource> DataSources { get; init; }

Property Value

Dictionary<string, IDataSource>

Main

The primary data source resulting from the query. This is typically the main or exit point accessed by consumers.

public IDataSource Main { get; init; }

Property Value

IDataSource