Mercurial > pub > bltoolkit
comparison Source/ServiceModel/Async/ILinqSoapService.cs @ 0:f990fcb411a9
Копия текущей версии из github
author | cin |
---|---|
date | Thu, 27 Mar 2014 21:46:09 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f990fcb411a9 |
---|---|
1 using System; | |
2 using System.ServiceModel; | |
3 | |
4 namespace BLToolkit.ServiceModel.Async | |
5 { | |
6 [ServiceContract] | |
7 [ServiceKnownType(typeof(LinqServiceQuery))] | |
8 [ServiceKnownType(typeof(LinqServiceResult))] | |
9 public interface ILinqSoapService | |
10 { | |
11 [OperationContract(AsyncPattern = true, Action = "http://tempuri.org/GetSqlProviderType", ReplyAction = "http://tempuri.org/GetSqlProviderTypeResponse")] | |
12 IAsyncResult BeginGetSqlProviderType(AsyncCallback callback, object asyncState); | |
13 | |
14 string EndGetSqlProviderType(IAsyncResult result); | |
15 | |
16 [OperationContract(AsyncPattern = true, Action = "http://tempuri.org/ExecuteNonQuery", ReplyAction = "http://tempuri.org/ExecuteNonQueryResponse")] | |
17 IAsyncResult BeginExecuteNonQuery(string queryData, AsyncCallback callback, object asyncState); | |
18 | |
19 int EndExecuteNonQuery(IAsyncResult result); | |
20 | |
21 [OperationContract(AsyncPattern = true, Action = "http://tempuri.org/ExecuteScalar", ReplyAction = "http://tempuri.org/ExecuteScalarResponse")] | |
22 IAsyncResult BeginExecuteScalar(string queryData, AsyncCallback callback, object asyncState); | |
23 | |
24 object EndExecuteScalar(IAsyncResult result); | |
25 | |
26 [OperationContract(AsyncPattern = true, Action = "http://tempuri.org/ExecuteReader", ReplyAction = "http://tempuri.org/ExecuteReaderResponse")] | |
27 IAsyncResult BeginExecuteReader(string queryData, AsyncCallback callback, object asyncState); | |
28 | |
29 string EndExecuteReader(IAsyncResult result); | |
30 | |
31 [OperationContract(AsyncPattern = true, Action = "http://tempuri.org/ExecuteBatch", ReplyAction = "http://tempuri.org/ExecuteBatchResponse")] | |
32 IAsyncResult BeginExecuteBatch(string queryData, AsyncCallback callback, object asyncState); | |
33 | |
34 int EndExecuteBatch(IAsyncResult result); | |
35 } | |
36 } |