Provider specific code to set up the updating/ed event handlers used by UpdateDataset

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
protected virtual void AddUpdateEventHandlers(
	IDbDataAdapter dataAdapter,
	AdoHelper<(Of <(<'TFactory>)>)>..::..RowUpdatingHandler rowUpdatingHandler,
	AdoHelper<(Of <(<'TFactory>)>)>..::..RowUpdatedHandler rowUpdatedHandler
)
Visual Basic
Protected Overridable Sub AddUpdateEventHandlers ( 
	dataAdapter As IDbDataAdapter,
	rowUpdatingHandler As AdoHelper<(Of <(<'TFactory>)>)>..::..RowUpdatingHandler,
	rowUpdatedHandler As AdoHelper<(Of <(<'TFactory>)>)>..::..RowUpdatedHandler
)

Parameters

dataAdapter
Type: System.Data..::..IDbDataAdapter
DataAdapter to attach the event handlers to
rowUpdatingHandler
Type: CodeSmith.Engine..::..AdoHelper<(Of <(<'TFactory>)>)>..::..RowUpdatingHandler
The handler to be called when a row is updating
rowUpdatedHandler
Type: CodeSmith.Engine..::..AdoHelper<(Of <(<'TFactory>)>)>..::..RowUpdatedHandler
The handler to be called when a row is updated

See Also