IDataStoreService.Do(String, Object) Method
In This Article
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.2.dll
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 |
---|---|
Operation |
An Operation |
See Also