?? iservice.cs
字號:
?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();
//根據(jù)書名查詢書籍
[OperationContract]
List<librarylist> GetBookWithName(string bookname);
//根據(jù)編號查詢書籍
[OperationContract]
List<librarylist> GetBookWithMark(string marknum);
//根據(jù)作者查詢書籍
[OperationContract]
List<librarylist> GetBookWithAuthor(string author);
//根據(jù)姓名刪除聯(lián)系人
[OperationContract]
void DeleteAAdd(string name);
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -