Table of Contents

Class RetrieveContentOfReusableSchemasQueryParameters

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

Parameters for retrieving content items of reusable schemas with fluent API for configuring of the underlying query. IContentRetriever

public sealed class RetrieveContentOfReusableSchemasQueryParameters : RetrieveContentQueryParametersBase<RetrieveContentOfReusableSchemasQueryParameters>
Inheritance
object
RetrieveContentOfReusableSchemasQueryParameters
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 RetrieveContentOfReusableSchemasQueryParameters 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

RetrieveContentOfReusableSchemasQueryParameters

Returns this RetrieveContentOfReusableSchemasQueryParameters 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.