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.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
[ServiceKnownType(typeof(CommandChannelHelper.SprocQuery))]
[ServiceKnownType(typeof(CommandChannelHelper.SqlQuery))]
[OperationContract(Action = "http://tempuri.org/IDataStoreService/Do", ReplyAction = "http://tempuri.org/IDataStoreService/DoResponse")]
[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<Object> denoting the operation result. |
See Also