SyncMappingConfig
Root sync mapping configuration. Spec Section 7.3.
public sealed record SyncMappingConfig : IEquatable<SyncMappingConfig>
Constructors
SyncMappingConfig
public SyncMappingConfig(string Version, UnmappedTableBehavior UnmappedTableBehavior, IReadOnlyList<TableMapping> Mappings)
Root sync mapping configuration. Spec Section 7.3.
| Parameter | Type | Description |
|---|---|---|
Version |
String |
Configuration format version. |
UnmappedTableBehavior |
UnmappedTableBehavior |
Behavior for unmapped tables. |
Mappings |
TableMapping> |
List of table mappings. |
Properties
Version
public string Version { get; init; }
Configuration format version.
UnmappedTableBehavior
public UnmappedTableBehavior UnmappedTableBehavior { get; init; }
Behavior for unmapped tables.
Mappings
public IReadOnlyList<TableMapping> Mappings { get; init; }
List of table mappings.
Empty
public static SyncMappingConfig Empty { get; }
Empty configuration with strict unmapped table behavior.
Passthrough
public static SyncMappingConfig Passthrough { get; }
Configuration that passes through all tables unchanged.