Class Children
Get Children Entities (child-relationships) of the Entities coming into this DataSource
Inheritance
System.Object
ToSic.Lib.Services.ServiceBase
ToSic.Lib.Services.ServiceBase<ToSic.Eav.DataSource.DataSourceBase.MyServices>
ToSic.Eav.DataSources.RelationshipDataSourceBase
Children
Implements
Inherited Members
Namespace: ToSic.Eav.DataSources
Assembly: ToSic.Eav.DataSources.dll
Syntax
[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://r.2sxc.org/DsChildren")]
[InternalApi_DoNotUse_MayChangeWithoutNotice("WIP")]
public class Children : RelationshipDataSourceBase, IDataSource, IAppIdentity, IZoneIdentity, IAppIdentityLight, ICacheInfo, ICacheKey, ICacheExpiring, ITimestamped, ICanPurgeListCache, IHasLog, IDataTarget, IAppIdentitySync, IDataSourceLinkable
Remarks
- Added in v12.10
- Changed in v15.05 to use the immutable convention
Constructors
| Improve this Doc View SourceChildren(DataSourceBase.MyServices)
Declaration
public Children(DataSourceBase.MyServices services)
Parameters
Type | Name | Description |
---|---|---|
ToSic.Eav.DataSource.DataSourceBase.MyServices | services |
Properties
| Improve this Doc View SourceContentTypeName
Name of the content-type to get. If specified, would only keep the children of this content-type.
Can usually be left empty (recommended).
Declaration
public override string ContentTypeName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
ToSic.Eav.DataSources.RelationshipDataSourceBase.ContentTypeName
|
Improve this Doc
View Source
FieldName
Name of the field pointing to the children. If left blank, will use get all children.
Declaration
public override string FieldName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
ToSic.Eav.DataSources.RelationshipDataSourceBase.FieldName