Table of Contents

Class RetrieveContentOfContentTypesQueryParameters

Namespace
Kentico.Content.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll

Parameters for retrieving content items of multiple types with fluent API for configuring of the underlying query. IContentRetriever

public sealed class RetrieveContentOfContentTypesQueryParameters : RetrieveContentQueryParametersBase<RetrieveContentOfContentTypesQueryParameters>
Inheritance
object
RetrieveContentOfContentTypesQueryParameters
Inherited Members
Extension Methods

Methods

Linking(string, string, IEnumerable<int>)

Configure query to retrieve linked items which reference any of items in the referenceFieldName.

public RetrieveContentOfContentTypesQueryParameters Linking(string contentTypeName, string referenceFieldName, IEnumerable<int> items)

Parameters

contentTypeName string

The name of the content type in which to search for the linking references via referenceFieldName.

referenceFieldName string

Field name of the retrieved content item which includes the items.

items IEnumerable<int>

Identifiers of items which are linked from the retrieved items.

Returns

RetrieveContentOfContentTypesQueryParameters

Returns this RetrieveContentOfContentTypesQueryParameters instance to chain further configuration.

Remarks

Simultaneous call with LinkedFrom(string, string, IEnumerable<IContentItemIdentifier>) or LinkedFromSchemaField(string, IEnumerable<IContentItemIdentifier>) is not supported. Multiple calls of this method are not supported.