Sql.

GetItems(IReadOnlyList<IDocument>, IExecutionContext) Method

Summary

Gets the items to convert to documents. The Wyam.Common.Modules.ReadDataModule`2.GetDictionary(`1) method is used to convert each item into a series of key-value pairs that is then used for document creation.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Metadata
Containing Type
Sql

Syntax

protected override IEnumerable<DataRow> GetItems(IReadOnlyList<IDocument> inputs, IExecutionContext context)

Parameters

Name Type Description
inputs IReadOnlyList<IDocument> The input documents.
context IExecutionContext The current execution context.

Return Value

Type Description
IEnumerable<DataRow> The objects to create documents from.
GitHub