Top Method Summary
Options Name Purpose
AddChildDataSourceRequests (SmartDatasetAdapter, character) Add child data source requests
AddDataSourceToTab (character, UltraTab, character) Adds a data source to a tab
AddDataSourceToTab (SmartDatasetAdapter, UltraTab, character) Adds an already-resolved data source adapter to a tab
ApplyCountsToTabs () Apply the record counts to the tabs
ApplyLocalCount (SmartDatasetAdapter) Applies the BindingSource record count of the given data source directly to the tab Text, without involving the server-side CountRecordsBusinessTask.
ClearOldRecords (character) Removes old count requests for the given parent request
DataSource_AfterCreateRecord (Object, AfterCreateRecordEventArgs) Handler for the AfterCreateRecord event of a data source
DataSource_AfterDeleteRecord (Object, AfterDeleteRecordEventArgs) Handler for the AfterDeleteRecord event of a data source
DataSource_AfterRetrieveData (Object, EventArgs) Handler for the AfterRetrieveData event
DataSource_AfterUpdateRecord (Object, AfterUpdateRecordEventArgs) Handler for the AfterUpdateRecord event of a data source
DataSource_BeforeRetrieveData (Object, EventArgs) Handler for the BeforeRetrieveData event
DataSource_QueryClosed (Object, EventArgs) Handler for the QueryClosed event
DataSource_SmartNavigationTargetPositionChanged (Object, SmartNavigationTargetPositionChangedEventArgs) Handler for the SmartNavigationTargetPositionChanged event
Consultingwerk.SmartComponents.Base.SmartDatasetAdapter GetDataSource (character) Returns the data source instance
GetRecordCounts (SmartDatasetAdapter, logical) Gets the current record counts from either the BindingSource or the DataSource
CHARACTER GetWhereClauses (SmartDatasetAdapter) Extract the where clauses from the data source's previous fetch queries
Initialize () Initializes the provider
SetCountsToZero (SmartDatasetAdapter) Reset the record count of the given data source to zero
Shutdown () Shuts the provider down
SubscribeDataSourceEvents (SmartDatasetAdapter) Subscribes to the events of a data source
SubscribeParentDataSources (SmartDatasetAdapter) Subscribes to the events of the given data sources parents
UnsubscribeDataSourceEvents (SmartDatasetAdapter) Unsubscribe from the events of the given data source

Top Constructor Summary
Options Name Purpose
DataSourceRecordCountProvider (IHasTabDataSourceCount) Constructor for the DataSourceRecordCountProvider class


Method Detail
Top

AddChildDataSourceRequests (SmartDatasetAdapter, character)

Purpose: Add child data source requests
Notes: This method is used to recursively add count requests for child data sources.
The pcParentGuid parameter is used to keep track of the parent datasources request.
This is needed to read the key field values of the parent data source
when the child request is processed.

Parameters:
poDataSource Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The parent data source
pcParentGuid CHARACTER
The parent requests guid
Top

AddDataSourceToTab (character, UltraTab, character)

Purpose: Adds a data source to a tab
Notes:

Parameters:
pcDataSource CHARACTER
The name of the data source
poTabControl Infragistics.Win.UltraWinTabControl.UltraTab
The tab control
pcPattern CHARACTER
The pattern to use
Top

AddDataSourceToTab (SmartDatasetAdapter, UltraTab, character)

Purpose: Adds an already-resolved data source adapter to a tab
Notes: Used by static (non-dynamic) forms that hold direct field
references to their adapters. The adapter is registered
immediately so no name lookup via the parent IHasTabDataSourceCount
is required.

Parameters:
poDataSource Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The data source adapter
poTabControl Infragistics.Win.UltraWinTabControl.UltraTab
The tab control
pcPattern CHARACTER
The pattern to use
Top

ApplyCountsToTabs ()

Purpose: Apply the record counts to the tabs
Notes:

Top

ApplyLocalCount (SmartDatasetAdapter)

Purpose: Applies the BindingSource record count of the given data source
directly to the tab Text, without involving the server-side
CountRecordsBusinessTask.
Notes: Used for SmartDatasetChildAdapter instances whose records live
in the parent's dataset and therefore never require a backend
count roundtrip.

Parameters:
poDataSource Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The data source whose count should be applied
Top

ClearOldRecords (character)

Purpose: Removes old count requests for the given parent request
Notes:

Parameters:
pcParentGuid CHARACTER
The parent requests guid
Top

DataSource_AfterCreateRecord (Object, AfterCreateRecordEventArgs)

Purpose: Handler for the AfterCreateRecord event of a data source
Notes:

Parameters:
sender System.Object
The object that raised the event
e Consultingwerk.SmartComponents.Implementation.AfterCreateRecordEventArgs
The event arguments
Top

DataSource_AfterDeleteRecord (Object, AfterDeleteRecordEventArgs)

Purpose: Handler for the AfterDeleteRecord event of a data source
Notes:

Parameters:
sender System.Object
The object that raised the event
e Consultingwerk.SmartComponents.Implementation.AfterDeleteRecordEventArgs
The event arguments
Top

DataSource_AfterRetrieveData (Object, EventArgs)

Purpose: Handler for the AfterRetrieveData event
Notes:

Parameters:
sender System.Object
The object that raised the event
e System.EventArgs
The event arguments
Top

DataSource_AfterUpdateRecord (Object, AfterUpdateRecordEventArgs)

Purpose: Handler for the AfterUpdateRecord event of a data source
Notes:

Parameters:
sender System.Object
The object that raised the event
e Consultingwerk.SmartComponents.Implementation.AfterUpdateRecordEventArgs
The event arguments
Top

DataSource_BeforeRetrieveData (Object, EventArgs)

Purpose: Handler for the BeforeRetrieveData event
Notes:

Parameters:
sender System.Object
The object that raised the event
e System.EventArgs
The event arguments
Top

DataSource_QueryClosed (Object, EventArgs)

Purpose: Handler for the QueryClosed event
Notes:

Parameters:
sender System.Object
The object that raised the event
e System.EventArgs
The event arguments
Top

DataSource_SmartNavigationTargetPositionChanged (Object, SmartNavigationTargetPositionChangedEventArgs)

Purpose: Handler for the SmartNavigationTargetPositionChanged event
Notes:

Parameters:
sender System.Object
The object that raised the event
e Consultingwerk.SmartComponents.Base.SmartNavigationTargetPositionChangedEventArgs
The event arguments
Top

Consultingwerk.SmartComponents.Base.SmartDatasetAdapter GetDataSource (character)

Purpose: Returns the data source instance
Notes:

Parameters:
pcDataSource CHARACTER
The name of the data source
Returns Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The data source
Top

GetRecordCounts (SmartDatasetAdapter, logical)

Purpose: Gets the current record counts from either the BindingSource or the DataSource
Notes:

Parameters:
poDataSource Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The data source to get the record counts from
plReposition LOGICAL
Whether the reason is a repositioning of the datasources record
Top

CHARACTER GetWhereClauses (SmartDatasetAdapter)

Purpose: Extract the where clauses from the data source's previous fetch queries
Notes: The PreviousFetchQueries-based normalization is only available
on SmartBusinessEntityAdapter. For other SmartDatasetAdapter
subclasses (e.g. SmartDatasetChildAdapter) the data source's
current QueryString is returned unchanged as a fallback so the
cross-request dedup logic in GetRecordCounts can still match
identical queries.

Parameters:
poDataSource Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The data source
Returns CHARACTER
The query where clauses separated by the CHR(1), if needed
Top

Initialize ()

Purpose: Initializes the provider
Notes:

Top

SetCountsToZero (SmartDatasetAdapter)

Purpose: Reset the record count of the given data source to zero
Notes:

Parameters:
poDataSource Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The data source to reset
Top

Shutdown ()

Purpose: Shuts the provider down
Notes:

Top

SubscribeDataSourceEvents (SmartDatasetAdapter)

Purpose: Subscribes to the events of a data source
Notes:

Parameters:
poDataSource Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The data source to subscribe
Top

SubscribeParentDataSources (SmartDatasetAdapter)

Purpose: Subscribes to the events of the given data sources parents
Notes:

Parameters:
poDataSource Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The data source whose parent data sources to subscribe to
Top

UnsubscribeDataSourceEvents (SmartDatasetAdapter)

Purpose: Unsubscribe from the events of the given data source
Notes:

Parameters:
poDataSource Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The data source to unsubscribe


Constructor Detail
Top

DataSourceRecordCountProvider (IHasTabDataSourceCount)

Purpose: Constructor for the DataSourceRecordCountProvider class
Notes:

Parameters:
poParent Consultingwerk.Windows.Framework.Repository.Rendering.IHasTabDataSourceCount
The parent object


Temp-Table Detail


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       03.05.2026 21:48:37