Click or drag to resize

ConnectorDataItemClassDBActionPrepare Field

Triggered by methods Get*, Insert, Update and Delete

Namespace:  SOWIData.Database
Assembly:  SOWIData (in SOWIData.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
protected EventHandler<EventArgData<DataItemClass>> DBActionPrepare

Field Value

Type: EventHandlerEventArgDataDataItemClass
Remarks
Event sequence see on method. Event is protected (accessible by derived class instances)
Examples
This example added event DBActionPrepare
this.DBActionPrepare += OnDBActionPrepare;
A example of event DBActionPrepare
/// <summary>
/// Data prepare before database handling
/// </summary>
/// <param name="sender"></param>
/// <param name="e">Database action of data item or data list</param>
protected virtual void OnDBActionPrepare(object sender, SOWIData.EventArgData<DataItemClass> e)
{
     // ...
}
See Also