Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to: Execute a Stored Procedure from the Workflow Activity

$
0
0
When using XPO, you can call the Session.ExecuteSproc method to execute a stored procedure. Use the TransactionalGetObjectSpace activity to obtain an underlying instance of the XPObjectSpace class and then use CodeActivity or InvokeMethod to execute an appropriate method of the Session object. This example demonstrates how to execute a stored procedure in the Workflow Designer and in code.



See also:
how to create object in custom function within workflow 
How do I obtain the XafApplication’s IObjectSpace in a class that is not inherited from ViewController

Viewing all articles
Browse latest Browse all 7205

Trending Articles