ConnectorDataItemClassInsert Method (DataItemClass) |
Namespace: SOWIData.Database
[Missing <param name="pItem"/> documentation for "M:SOWIData.Database.Connector`1.Insert(`0)"]
Set data item value Action, Task, Status, CreateDate and CreateUser
Event order:
1. Event DBActionPermission (protected)
2. Event DBActionBefore (Status = Create, public)
3. Event DBActionPrepare (protected)
4. Call method Validate with event Validating (details see Validate, protected)
5. Database action insert (Status = Insert, Action = Added -> System.Data.EntityState.Added)
6. Event DBActionDone (protected)
7. Event DBActionAfter (public)
Details event see event handler
Note: XML provider: if ID field value equal 0 then puts a number between 1 to 1000