iitem.cs

来自「ASP.net网站开发四“酷”全书:新闻、论坛、电子商城、博客_源码」· CS 代码 · 共 30 行

CS
30
字号
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 + =
减小字号Ctrl + -
显示快捷键?