Top Method Summary
Options Name Purpose
- AddChildDataSourceRequests (SmartBusinessEntityAdapter, character) Add child data source requests
+ AddDataSourceToTab (character, UltraTab, character) Adds a data source to a tab
# ApplyCountsToTabs () Apply the record counts to the tabs
- 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.Implementation.SmartBusinessEntityAdapter GetDataSource (character) Returns the data source instance
# GetRecordCounts (SmartBusinessEntityAdapter, logical) Gets the current record counts from either the BindingSource or the DataSource
+ Initialize () Initializes the provider
# SetCountsToZero (SmartBusinessEntityAdapter) Reset the record count of the given data source to zero
+ Shutdown () Shuts the provider down
# SubscribeDataSourceEvents (SmartBusinessEntityAdapter) Subscribes to the events of a data source
# SubscribeParentDataSources (SmartBusinessEntityAdapter) Subscribes to the events of the given data sources parents
# UnsubscribeDataSourceEvents (SmartBusinessEntityAdapter) 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

PRIVATE AddChildDataSourceRequests (SmartBusinessEntityAdapter, 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.Implementation.SmartBusinessEntityAdapter
The parent data source
pcParentGuid CHARACTER
The parent requests guid
Top

PUBLIC 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

PROTECTED ApplyCountsToTabs ()

Purpose: Apply the record counts to the tabs
Notes:

Top

PRIVATE 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

PRIVATE 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

PRIVATE 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

PRIVATE 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

PRIVATE 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

PRIVATE 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

PRIVATE 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

PROTECTED Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter GetDataSource (character)

Purpose: Returns the data source instance
Notes:

Parameters:
pcDataSource CHARACTER
The name of the data source
Returns Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter
The data source
Top

PROTECTED GetRecordCounts (SmartBusinessEntityAdapter, logical)

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

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

PUBLIC Initialize ()

Purpose: Initializes the provider
Notes:

Top

PROTECTED SetCountsToZero (SmartBusinessEntityAdapter)

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

Parameters:
poDataSource Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter
The data source to reset
Top

PUBLIC Shutdown ()

Purpose: Shuts the provider down
Notes:

Top

PROTECTED SubscribeDataSourceEvents (SmartBusinessEntityAdapter)

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

Parameters:
poDataSource Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter
The data source to subscribe
Top

PROTECTED SubscribeParentDataSources (SmartBusinessEntityAdapter)

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

Parameters:
poDataSource Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter
The data source whose parent data sources to subscribe to
Top

PROTECTED UnsubscribeDataSourceEvents (SmartBusinessEntityAdapter)

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

Parameters:
poDataSource Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter
The data source to unsubscribe


Constructor Detail
Top

PUBLIC DataSourceRecordCountProvider (IHasTabDataSourceCount)

Purpose: Constructor for the DataSourceRecordCountProvider class
Notes:

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


Temp-Table Detail


©2006-2025 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       22.04.2025 11:49:44