In the following, you can find an example that uses two out parameters for the procedure.
The procedure itself for this example is defined as this:
To execute this procedure, you can use the following code.
OAParameter param1 =
param1.Direction = ParameterDirection.Output;
param1.Size = 10;
OAParameter param2 =
param2.Direction = ParameterDirection.Output;
param2.Size = 10;
(var connection =
(OACommand command = connection.CreateCommand())
command.CommandType = CommandType.StoredProcedure;
You can find more details about this API here
. This approach is basically not bound to the Fluent API rather than it is the Low Level ADO API that is also generated in case you are using the Visual Designer to map your Procedures. Though if you are working without the Visual Designer, you have to implement the respective calls by yourself.
I hope this information is helpful for you.
Do come back in case you need further assistance.
OpenAccess ORM is now Telerik Data Access
. For more information on the new names, please, check out the Telerik Product Map