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.v21.1.dll

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