Table of Contents

Constructor Table

Namespace
PowerSync.Common.DB.Schema
Assembly
PowerSync.Common.dll

Table()

public Table()

Table(Type, TableOptions?)

Generate a table implementation from a Type object and registers its shape with the internal Dapper type mapper.

The given type is required to have the TableAttribute attribute.

public Table(Type type, TableOptions? options = null)

Parameters

type Type
options TableOptions

Table(Table, TableOptions?)

Clone the table "other" with an optional override for table options.

public Table(Table other, TableOptions? options = null)

Parameters

other Table
options TableOptions

Table(string, Dictionary<string, ColumnType>, TableOptions?)

public Table(string name, Dictionary<string, ColumnType> columns, TableOptions? options = null)

Parameters

name string
columns Dictionary<string, ColumnType>
options TableOptions