Click or drag to resize

MemoryBufferTable Class

Represents one table of in-memory data
Inheritance Hierarchy
SystemObject
  Aloe.SystemFrameworks.Domain.DataAccessMemoryBufferTable

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

The MemoryBufferTable type exposes the following members.

Constructors
  NameDescription
Public methodMemoryBufferTable
Initializes a new instance of the MemoryBufferTable class.
Top
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 primary key.
Public methodGetChanges
Gets the changes to the table since the last AcceptChanges.
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.
Public methodNewRow
Creates a new row with the specified id and returns it.
Public methodRejectChanges
Rejects all changes to the table.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
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. It is never triggered for MemoryBufferTable.
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