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
-
objectQueryFactoryResult
- 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
MainIDataSourceThe primary data source resulting from the query. This is typically the main or exit point accessed by consumers.
DataSourcesDictionary<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
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; }