📄 iitem.cs
字号:
using System;
using System.Collections;
//References to PetShop specific libraries
//PetShop busines entity library
using BookShop.Model;
namespace BookShop.IDAL{
/// <summary>
/// Interface to the Item DAL
/// </summary>
public interface IItem{
/// <summary>
/// Search items by productId
/// </summary>
/// <param name="productId">ProductId to search for</param>
/// <returns>Interface to an arraylist of the results</returns>
IList GetItemsByProduct(string productId);
/// <summary>
/// Get information on a specific item
/// </summary>
/// <param name="itemId">Unique identifier for an item</param>
/// <returns>Business Entity representing an item</returns>
ItemInfo GetItem(string itemId);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -