Skip to content

TCustomBufDataset.Create

Constructor for the class instance.

Declaration

Source position: bufdataset.pas line 782

public 
constructor TCustomBufDataset.Create(AOwner: TComponent);  override;

Description

Create is an overridden constructor for the class instance. Create calls the inherited constructor using the value in AOwner as the owner of the class instance. Create sets the default value for internal members used in the implementation of the buffered dataset, including:

  • Parser for data packets (Nil)
  • Manual MergeChangeLog handling (False)
  • Default AutoInc field value (-1)
  • Update Buffer count (0)
  • Blob Buffer count (0)
  • Blob Update Buffer count (0)

Creates sets the value for public and published properties, including:

  • MaxIndexesCount (2)
  • PacketRecords (10)

Create allocates resources needed for the BufIndexdefs and BufIndexes properties.

See also

Name Description
TCustomBufDataset.MaxIndexesCount Maximum number of indexes available in the dataset.
TCustomBufDataset.PacketRecords Number of records allowed in a data packet handled by the packet reader.