Table of Contents

Class Children

Namespace
ToSic.Eav.DataSources
Assembly
ToSic.Eav.DataSources.dll

Get Children Entities (child-relationships) of the Entities coming into this DataSource

[VisualQuery(NiceName = "Children", UiHint = "Get the item's children", Icon = "escalator_warning", Type = DataSourceType.Lookup, NameId = "9f8de7ee-d1aa-4055-9bf9-8f183259cb05", In = new string[] { "Default*" }, DynamicOut = false, ConfigurationType = "832cd470-49f2-4909-a08a-77644457713e", HelpLink = "https://go.2sxc.org/DsChildren")]
[InternalApi_DoNotUse_MayChangeWithoutNotice("WIP")]
public class Children : RelationshipDataSourceBase, IDataSource, IAppIdentity, IZoneIdentity, IAppIdentityLight, ICacheKey, ICacheExpiring, ITimestamped, IHasLog, IDataSourceLinkable
Inheritance
Children
Implements
Inherited Members

Remarks

Constructors

Children(MyServices, IContextResolverUserPermissions)

Get Children Entities (child-relationships) of the Entities coming into this DataSource

public Children(DataSourceBase.MyServices services, IContextResolverUserPermissions userPermissions)

Parameters

services DataSourceBase.MyServices
userPermissions IContextResolverUserPermissions

Remarks

Properties

ContentTypeName

Name of the content-type to get. If specified, would only keep the children of this content-type.

Can usually be left empty (recommended).

public override string ContentTypeName { get; }

Property Value

string

FieldName

Name of the field pointing to the children. If left blank, will use get all children.

public override string FieldName { get; }

Property Value

string