MySQL · Types · Preloading the schema

ArxPreLoadMode

Definition

Namespace
ARX.SDK.Services
Package
ARX.SDK
C#
public enum ArxPreLoadMode

What a preload reads.

Values

DataTypes

"Fast": the id, business keys, lookups, and every loaded column's type. Needed for Strict.

KeysOnly

"Convenient": the table keys only (the id, business keys, lookups), no column types.

Usage

C#

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

var schema = await new ArxPreLoadTable(tables, ArxPreLoadMode.KeysOnly).LoadAsync(dbContext.ConnectionString);

Preload the schema at service setup: keys only, data types, Strict, scenario 2

Used in: