iservice.cs
来自「Asp.net+silverlight制作的手机功能演示」· CS 代码 · 共 34 行
CS
34 行
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
// NOTE: If you change the interface name "IService" here, you must also update the reference to "IService" in Web.config.
[ServiceContract]
public interface IService
{
//获取通讯录表
[OperationContract]
List<addresslist> GetAllAddress();
//存入一个电话记录
[OperationContract]
addresslist SaveAAddress(addresslist address);
//获取图书馆书籍
[OperationContract]
List<librarylist> GetAllBooks();
//根据书名查询书籍
[OperationContract]
List<librarylist> GetBookWithName(string bookname);
//根据编号查询书籍
[OperationContract]
List<librarylist> GetBookWithMark(string marknum);
//根据作者查询书籍
[OperationContract]
List<librarylist> GetBookWithAuthor(string author);
//根据姓名删除联系人
[OperationContract]
void DeleteAAdd(string name);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?