Click or drag to resize

ConnectorDataItemClassUpdate Method (DataItemClass)

Data item update

Namespace:  SOWIData.Database
Assembly:  SOWIData (in SOWIData.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public virtual DataItemClass Update(
	DataItemClass pItem
)

Parameters

pItem
Type: DataItemClass

[Missing <param name="pItem"/> documentation for "M:SOWIData.Database.Connector`1.Update(`0)"]

Return Value

Type: DataItemClass
a data item

Implements

IConnectorDataItemClassUpdate(DataItemClass)
Remarks

Set data item value Action, Task, Status, LastEditDate and LastEditUser

Event order:

1. Event DBActionPermission (protected)

2. Event DBActionBefore (Action = Update, public)

3. Event DBActionPrepare (protected)

4. Call method Validate with event Validating (details see Validate, protected)

5. Database action update (Status = Update, Action = Modified -> System.Data.EntityState.Modified)

6. Event DBActionDone (protected)

7. Event DBActionAfter (public)

Details event see event handler

See Also