Table of Contents

Interface IMergeRelationSource

Namespace
DocWright.MailMerge
Assembly
DocWright.MailMerge.dll

A named child collection a nested merge region draws its rows from.

public interface IMergeRelationSource

Remarks

A «TableStart:Items» region repeats over whatever the current record exposes under the name Items. A source that has no child collections need not implement this; regions naming an unknown collection are reported through the merge result rather than throwing, because a template outliving one of its collections is ordinary.

Methods

TryGetRelation(string, out IMergeDataReader?)

Opens a reader over a named child collection of the current record.