Amazon DynamoDB · Types · Preloading the schema

ArxPreLoadTableRegister

Definition

Namespace
ARX.SDK.Services
Package
ARX.SDK
C#
public sealed class ArxPreLoadTableRegister

The tables a preload reads: one PreLoadTable call per table, with the columns to load, or none for all of them. A mistake is refused on the call that makes it.

Properties

  • IReadOnlyDictionary<string, IReadOnlyList<string>> Tables { get; }

    Each registered table and its columns (empty: all of them), in the order registered.

Methods

  • ArxPreLoadTableRegister PreLoadTable(string table, string[]? columns = null)

    Registers table ("table" or "schema.table") with the columns to load: null or [] for every column, a list for only those (the id column is always loaded).

    Parameter Type Description
    tablestringThe table to read, as the database names it.
    columnsstring[]?= nullThe columns to read (the id is always read); null for every column.

Usage

C#

A line from a verified sample; the full, runnable code is on its page.

var catalog = await new ArxPreLoadTable(new ArxPreLoadTableRegister().PreLoadTable("lead")).LoadAsync(client, model, schema => schema

Set up the service from DynamoDB's tables, scenario 1

Used in: