您的位置:首页 > 运维架构 > 网站架构

二)网站项目-ProductDataProxy,Petshop 源码分析

2008-01-28 00:09 701 查看
using System;

2using System.Web;

3using System.Web.Caching;

4using System.Collections.Generic;

5using System.Configuration;

6using PetShop.Model;

7using PetShop.BLL;

8using PetShop.CacheDependencyFactory;

9

10

这个类是一个产品数据代理类,

public static IList<ProductInfo> GetProductsByCategory(string category)

public static IList<ProductInfo> GetProductsBySearch(string text)

public static ProductInfo GetProduct(string productId)

这3个类其实加个缓存罢了,我想不考虑缓存的话,这个类可以省去了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: