Table of Contents

Class QueryPartDefinition

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

The configuration / definition of a query part. The QueryDefinition uses a bunch of these together to build a query.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public record QueryPartDefinition : ModelOfEntity, IModelSetup<IEntity>, IWrapper<IEntity>, IEquatable<ModelOfEntityCore>, IModelOfEntity, ICanBeEntity, IEquatable<ModelOfEntity>, IEquatable<QueryPartDefinition>
Inheritance
object
QueryPartDefinition
Implements
Inherited Members

Remarks

Made visible in the docs v21.02, but still just fyi/internal.

Properties

DataSourceInfo

public DataSourceInfo DataSourceInfo { get; }

Property Value

DataSourceInfo

DataSourceType

public Type DataSourceType { get; }

Property Value

Type

DataSourceTypeIdentifier

The .net type which the data source has for this part.
Will automatically resolve old names to new names as specified in the DataSources VisualQueryAttribute

public string DataSourceTypeIdentifier { get; }

Property Value

string

PartAssemblyAndType

public string? PartAssemblyAndType { get; }

Property Value

string

VisualDesignerData

Information for this part, how it's to be displayed in the visual query. This is a JSON string containing positioning etc.

public string VisualDesignerData { get; }

Property Value

string