Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IDataStoreServiceAsync.DoAsync(String, Object) Method

Asynchronously executes a specified command with specific parameters and returns the operation result.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v21.1.dll

NuGet Package: DevExpress.Xpo

Declaration

[OperationContract(Action = "http://tempuri.org/IDataStoreService/Do", ReplyAction = "http://tempuri.org/IDataStoreService/DoResponse")]
[XmlSerializerFormat]
Task<OperationResult<object>> DoAsync(
    string command,
    object args
)

Parameters

Name Type Description
command String

The command to execute.

args Object

The command‘s parameters

Returns

Type Description
Task<OperationResult<Object>>

A Task that returns the operation result.

See Also