IBufferTable Interface |
Namespace: Aloe.SystemFrameworks.Domain.DataAccess
The IBufferTable type exposes the following members.
| Name | Description | |
|---|---|---|
| ColumnCount |
Gets the column count.
| |
| Columns |
Gets the columns of the table.
| |
| DataSource |
Gets the data source, which is used to load missing rows.
| |
| PrimaryKey |
Gets or sets the primary key.
| |
| RowCount |
Gets the row count.
| |
| Rows |
Gets the rows.
| |
| TableName |
Gets the name of the table.
|
| Name | Description | |
|---|---|---|
| AcceptChanges |
Accepts all the changes since the last AcceptChanges
| |
| AddRow |
Adds the row to the rows collection.
| |
| CreateColumn |
Creates new column in the MemoryBufferTable | |
| FindRow |
Finds and returns the row with the specified Id. Returns null if the row is not found.
| |
| GetColumn |
Finds a column by its name and returns it.
| |
| GetColumnIndex |
Gets the index of the column.
| |
| ImportRow |
Creates and adds a new row, which duplicates the data and the state of the specified row.
No column change events are fired during the import.
| |
| NewRow |
Creates a new row with the specified id and returns it.
| |
| RejectChanges |
Rejects all changes to the table.
| |
| UpdateRow |
Updates a local row with data and state from the specified external row.
No column change events are fired during the import.
|
| Name | Description | |
|---|---|---|
| ColumnValueExternallyChanged |
Occurs when column value has been changed by external code.
|
| Name | Description | |
|---|---|---|
| EnsureLoaded |
Checks all ids in the list and makes sure all of them are loaded in the memory of the table.
(Defined by IBufferTableExtensions.) | |
| FindOrLoadRow |
Searches for the row in the table. If not found it is loaded from the data store.
(Defined by IBufferTableExtensions.) | |
| FindOrLoadRowByValueTValue(String, TValue) | Overloaded.
Finds or loads from the data-source the first row, for which the specified column matches the specified value.
(Defined by IBufferTableExtensions.) | |
| FindOrLoadRowByValueTValue(IBufferColumn, TValue) | Overloaded.
Finds or loads from the data-source the first row, for which the specified column matches the specified value.
(Defined by IBufferTableExtensions.) | |
| FindOrLoadRows |
Find or loads from the data source the rows with the specified ids.
(Defined by IBufferTableExtensions.) | |
| FindOrLoadRowsByValueTValue |
Finds or loads from the data-source all rows, for which the specified column matches the specified values.
(Defined by IBufferTableExtensions.) | |
| FindRowByValueTValue(String, TValue) | Overloaded.
Finds and returns the first row, for which the specified column matches the specified value.
(Defined by IBufferTableExtensions.) | |
| FindRowByValueTValue(Int32, TValue) | Overloaded.
Finds and returns the first row, for which the specified column matches the specified value.
(Defined by IBufferTableExtensions.) | |
| FindRowByValueTValue(IBufferColumn, TValue) | Overloaded.
Finds and returns the first row, for which the specified column matches the specified value.
(Defined by IBufferTableExtensions.) | |
| Merge |
Merges the table with the rows of the specified other table.
(Defined by IBufferTableExtensions.) | |
| NewRow |
Creates a new row and returns it.
(Defined by IBufferTableExtensions.) | |
| ProtectCurrentData |
Protects all rows in the table. The protected rows are not refreshed with new values from the data source.
(Defined by IBufferTableExtensions.) |