ColumnMapping

Classes > Sync > ColumnMapping

Column mapping between source and target with optional transform. Spec Section 7.3.

public sealed record ColumnMapping : IEquatable<ColumnMapping>

Constructors

ColumnMapping

public ColumnMapping(string? Source, string Target, TransformType Transform = TransformType.None, string? Value = null, string? Lql = null)

Column mapping between source and target with optional transform. Spec Section 7.3.

Parameter Type Description
Source String Source column name. NULL for computed/constant columns.
Target String Target column name.
Transform TransformType Transform type to apply.
Value String Constant value when Transform=Constant.
Lql String LQL expression when Transform=Lql.

Properties

Source

public string? Source { get; init; }

Source column name. NULL for computed/constant columns.

Target

public string Target { get; init; }

Target column name.

Transform

public TransformType Transform { get; init; }

Transform type to apply.

Value

public string? Value { get; init; }

Constant value when Transform=Constant.

Lql

public string? Lql { get; init; }

LQL expression when Transform=Lql.