Execute database function.
If you want to get return value from function, you have to set parameter for return value. There are two way.
1. Use addResultParam
2. Make DBExecutionParameter and set it's Direction to ParameterDirection.ReturnValue. Then add it by addFilter.
If return value is special type(can not cast from string simply), you have to use 2 .
Namespace: DataBaseExecutorsIf you want to get return value from function, you have to set parameter for return value. There are two way.
1. Use addResultParam
2. Make DBExecutionParameter and set it's Direction to ParameterDirection.ReturnValue. Then add it by addFilter.
If return value is special type(can not cast from string simply), you have to use 2 .
Assembly: DataBaseExecutors (in DataBaseExecutors.dll) Version: 1.0.1.3 (1.0.1.3)
Syntax
Parameters
- funcName
- Type: System String
[Missing <param name="funcName"/> documentation for "M:DataBaseExecutors.DBExecution.executeDBFunction``1(System.String,DataBaseExecutors.DBExecution.executeDbEnd{``0})"]
- callback (Optional)
- Type: DataBaseExecutors DBExecution executeDbEnd T
[Missing <param name="callback"/> documentation for "M:DataBaseExecutors.DBExecution.executeDBFunction``1(System.String,DataBaseExecutors.DBExecution.executeDbEnd{``0})"]
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:DataBaseExecutors.DBExecution.executeDBFunction``1(System.String,DataBaseExecutors.DBExecution.executeDbEnd{``0})"]
Return Value
Type: T[Missing <returns> documentation for "M:DataBaseExecutors.DBExecution.executeDBFunction``1(System.String,DataBaseExecutors.DBExecution.executeDbEnd{``0})"]
Remarks
See Also