TSimpleTable
Interface between a
TSqlTable
and a table viewer.Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TSimpleTable |
Source
SimpleTable.pas (31)
Description
TSimpleTable
supports several constructors functions that allow different levels of control of the options.
NewDefault
should be appropriate for most tables.
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | private | TSqlTable | FTable | |
Instance | private | TTableRowUriProducer | FRowUriProducer | |
Instance | public | TList<TSimpleTableColumn> | Columns | |
Instance | public | TUpdateMethods | UpdateOperations | |
Instance | public | TUpdateMethods | InitialUpdateOperations | |
Instance | public | TBoolean | InitialFilterEnabled | |
Instance | public | TBoolean | UploadEnabled | |
Instance | public | TList<TSqlOrderByExpression> | DefaultSortColumns | |
Instance | public | TBoolean | OwnsTable |
Methods
Scope | Visibility | Result | Name | Description |
---|---|---|---|---|
Instance | private | SetTable(Value: TSqlTable) | ||
Instance | private | SetRowUriProducer(Value: TTableRowUriProducer) | ||
Instance | private | TBoolean | GetRowDetailsEnabled() | |
Instance | public | Create() | ||
Instance | public | Destroy() | ||
Type | public | TSimpleTable | New(Table: TSqlTable; Columns: array of TSimpleTableColumn; UpdateOperations: TUpdateMethods) | |
Type | public | TSimpleTable | NewWithSort(Table: TSqlTable; Columns: array of TSimpleTableColumn; SortOrder: array of TSqlOrderByExpressionBuilder; UpdateOperations: TUpdateMethods) | |
Type | public | TSimpleTable | NewDefault(Table: TSqlTable; UpdateOperations: TUpdateMethods) | Creates a TSimpleTable with a column for every column in Table . |
Type | public | TSimpleTable | NewDefaultWithSort(Table: TSqlTable; SortOrder: array of TSqlOrderByExpressionBuilder; UpdateOperations: TUpdateMethods) | |
Type | public | TSimpleTable | NewDefaultWithIdColumn(Table: TSqlTable; UpdateOperations: TUpdateMethods; IdColumnOptions: TDataMethods) |
Creates a TSimpleTable with a column for every column in Table and hides the ID column from
the insert form.
|