Table of Contents

Class AggregateImportSource

Namespace
The.Import
Assembly
Instagile.dll

Combines multiple import sources into a single source for unified data import operations.

public sealed class AggregateImportSource : IImportSource
Inheritance
AggregateImportSource
Implements
Inherited Members

Constructors

AggregateImportSource(IEnumerable<IImportSource>)

public AggregateImportSource(IEnumerable<IImportSource> sources)

Parameters

sources IEnumerable<IImportSource>

AggregateImportSource(params IImportSource[])

public AggregateImportSource(params IImportSource[] sources)

Parameters

sources IImportSource[]

Properties

NameComparer

How table and column names produced by the import source should be compared

public IEqualityComparer<string> NameComparer { get; }

Property Value

IEqualityComparer<string>

Methods

CountEntityRows(string)

get a number greater than or equal to the number of rows present for a given table

public int CountEntityRows(string table)

Parameters

table string

Returns

int

GetEntityColumns(string)

get the list of columns now present for a given table, as distinct from what was present at schema creation time

public IReadOnlyList<string> GetEntityColumns(string table)

Parameters

table string

Returns

IReadOnlyList<string>

GetEntityRows(string)

enumerate the indexed row data for a given table

public IEnumerable<IReadOnlyList<object?>> GetEntityRows(string table)

Parameters

table string

Returns

IEnumerable<IReadOnlyList<object>>

PopulateStructure(Structure, IProgress<Status>?)

describe everything about the import source

public void PopulateStructure(Structure structure, IProgress<Status>? progress)

Parameters

structure Structure
progress IProgress<Status>