Click or drag to resize

IBufferTable Interface

Interface to in-memory data table

Namespace:  Aloe.SystemFrameworks.Domain.DataAccess
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public interface IBufferTable

The IBufferTable type exposes the following members.

Properties
  NameDescription
Public propertyColumnCount
Gets the column count.
Public propertyColumns
Gets the columns of the table.
Public propertyDataSource
Gets the data source, which is used to load missing rows.
Public propertyPrimaryKey
Gets or sets the primary key.
Public propertyRowCount
Gets the row count.
Public propertyRows
Gets the rows.
Public propertyTableName
Gets the name of the table.
Top
Methods
  NameDescription
Public methodAcceptChanges
Accepts all the changes since the last AcceptChanges
Public methodAddRow
Adds the row to the rows collection.
Public methodCreateColumn
Creates new column in the MemoryBufferTable
Public methodFindRow
Finds and returns the row with the specified Id. Returns null if the row is not found.
Public methodGetColumn
Finds a column by its name and returns it.
Public methodGetColumnIndex
Gets the index of the column.
Public methodImportRow
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.
Public methodNewRow
Creates a new row with the specified id and returns it.
Public methodRejectChanges
Rejects all changes to the table.
Public methodUpdateRow
Updates a local row with data and state from the specified external row. No column change events are fired during the import.
Top
Events
  NameDescription
Public eventColumnValueExternallyChanged
Occurs when column value has been changed by external code.
Top
Extension Methods
  NameDescription
Public Extension MethodEnsureLoaded
Checks all ids in the list and makes sure all of them are loaded in the memory of the table.
(Defined by IBufferTableExtensions.)
Public Extension MethodFindOrLoadRow
Searches for the row in the table. If not found it is loaded from the data store.
(Defined by IBufferTableExtensions.)
Public Extension MethodFindOrLoadRowByValueTValue(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.)
Public Extension MethodFindOrLoadRowByValueTValue(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.)
Public Extension MethodFindOrLoadRows
Find or loads from the data source the rows with the specified ids.
(Defined by IBufferTableExtensions.)
Public Extension MethodFindOrLoadRowsByValueTValue
Finds or loads from the data-source all rows, for which the specified column matches the specified values.
(Defined by IBufferTableExtensions.)
Public Extension MethodFindRowByValueTValue(String, TValue)Overloaded.
Finds and returns the first row, for which the specified column matches the specified value.
(Defined by IBufferTableExtensions.)
Public Extension MethodFindRowByValueTValue(Int32, TValue)Overloaded.
Finds and returns the first row, for which the specified column matches the specified value.
(Defined by IBufferTableExtensions.)
Public Extension MethodFindRowByValueTValue(IBufferColumn, TValue)Overloaded.
Finds and returns the first row, for which the specified column matches the specified value.
(Defined by IBufferTableExtensions.)
Public Extension MethodMerge
Merges the table with the rows of the specified other table.
(Defined by IBufferTableExtensions.)
Public Extension MethodNewRow
Creates a new row and returns it.
(Defined by IBufferTableExtensions.)
Public Extension MethodProtectCurrentData
Protects all rows in the table. The protected rows are not refreshed with new values from the data source.
(Defined by IBufferTableExtensions.)
Top
See Also