Mercurial > pub > bltoolkit
comparison Demo/WebServices/Client/PersonClient.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.Collections.Generic; | |
| 3 using System.Web.Services; | |
| 4 | |
| 5 namespace Demo.WebServices.Client | |
| 6 { | |
| 7 using WebClient; | |
| 8 using ObjectModel; | |
| 9 | |
| 10 [WebServiceBinding(Namespace = "http://tempuri.org/PersonService.asmx")] | |
| 11 [GenerateXmlInclude(typeof(Person))] | |
| 12 public abstract class PersonClient: WebClientBase<PersonClient>, IDataAccessor | |
| 13 { | |
| 14 public abstract List<Person> SelectAll(); | |
| 15 public abstract XmlMap<string, Person> SelectMap(); | |
| 16 public abstract Person SelectByKey(int id); | |
| 17 public abstract void SelectByKey(int id, Action<Person> callback); | |
| 18 | |
| 19 public abstract int MethodWithOutParams(out string str, out Guid guid); | |
| 20 public abstract void MethodWithOutParams(Action<int, string, Guid> callback); | |
| 21 } | |
| 22 } |
