0
|
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 } |