IDataStoreService.Do(String, Object) Method
Defines a service operation that, when implemented by a class, executes a specified command with specific parameters and returns the operation result.
Namespace: DevExpress.Xpo.DB
Assembly: DevExpress.Xpo.v18.2.dll
Declaration
[ServiceKnownType(typeof(CommandChannelHelper.SprocQuery))]
[ServiceKnownType(typeof(CommandChannelHelper.SqlQuery))]
[OperationContract(Action = "http://tempuri.org/IDataStoreService/Do")]
[XmlSerializerFormat]
OperationResult<object> Do(
string command,
object args
)
Parameters
Name | Type | Description |
---|---|---|
command | String | A String specifying the command to execute. |
args | Object | An object specifying the command‘s parameters. |
Returns
Type | Description |
---|---|
OperationResult<Object> | An OperationResult<T><Object,> denoting the operation result. |
See Also