Click or drag to resize

DataBuffer Class

Base abstract class for in-memory storage buffers for relational data.
Inheritance Hierarchy

Namespace:  Aloe.SystemFrameworks.Domain.DataAccess
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public abstract class DataBuffer : IBuffer

The DataBuffer type exposes the following members.

Constructors
  NameDescription
Public methodDataBuffer(IBuffer)
Initializes a new instance of the DataBuffer class and copies the data from the specified buffer.
Public methodDataBuffer(IMetadataProvider, IDataSource)
Initializes a new instance of the DataBuffer class.
Top
Properties
  NameDescription
Public propertyDataSource
Gets the data source, which is used to load missing rows.
Public propertyItem
Gets the MemoryBufferTable with the specified table name.
Public propertyMetadataProvider
Gets or sets the table metadata provider.
Public propertyTables
Gets the tables in the buffer.
Top
Methods
  NameDescription
Public methodAcceptChanges
Commits all changes since the last AcceptChanges.
Public methodContainsTable
Determines whether the buffer contains table with the specified table name.
Public methodCreateTable
Creates a table with the specified name using the metadata provider.
Public methodGetChanges
Gets the changes since the last AcceptChanges.
Public methodMerge
Merges the current buffer with the specified buffer.
Public methodNewTable
Creates and returns a new table.
Public methodRejectChanges
Rejects all changes to the buffer.
Top
Events
  NameDescription
Public eventColumnValueExternallyChanged
Triggered when column value in any table has been changed by external code.
Public eventColumnValueExternallyChanging
Triggered when column value in any table is about to change by external code.
Top
Extension Methods
  NameDescription
Public Extension MethodProtectCurrentData
Protects all rows in all tables in the buffer. The protected rows are not refreshed with new values from the data source.
(Defined by IBufferExtensions.)
Top
See Also