资源简介

网上书店开发,ASP.NET实现的,MVC模式开发

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using MyBookShop.DAL;
using MyBookShop.Models;

namespace MyBookShop.BLL
{

    public static partial class BookManager
    {
        #region 查
        /// 
        /// 查询图书列表
        /// 包含了分类的查询
        /// 和有无排序的条件
        /// 

        /// 查询条件:分类。小于1时代表不分类
        /// 排序条件,为空则不排序
        /// 
        public static IList GetOrderedSmallBooksByCategoryId(int categoryId string order)
        {
            return BookService.GetPartialBooksBySql(categoryId order);
        }
        /// 
        /// 搜索图书
        /// 

        /// 
        /// 
        public static IList SearchBooks(string keywordstring order)
        {
            return BookService.SearchBooks(keywordorder);
        }
        /// 
        /// 返回Rss所用的图书列表
        /// 

        /// 
        public static IList GetNewBooks()
        {
            return BookService.GetNewBooks();
        }

        #endregion
        #region 改

        /// 
        /// 更新图书分类
        /// 

        /// 
        /// 
        /// 
        public static void ModifyCatagory(string ids string catagory)
        {
            BookService.ModifyCatagory(ids catagory);
        }
        /// 
        /// 专为图书修改页提供的图书更新
        /// 

        /// tle“>
        /// 
        /// 
        /// ription“>
        /// 
        /// 
        /// 
        /// 
        /// ription“>
        /// 
        /// 
        public static void ModifyBook(string title int Publisherid int WordsCount string AurhorDescription decimal UnitPrice string author string TOC DateTime PublishDate string ContentDescription string editorComment int id)
        {
            if (AurhorDescription == null)
                AurhorDescription = ““;
            if (ContentDescription == null)
                ContentDescription = ““;
            if (ContentDescription == null)
                ContentDescription = ““;
            if (editorComment == null)
                editorComment = ““;
            if (ContentDescription == null)
                ContentDescription = ““;
            if (editorComment == null)
                editorComment = ““;
            if (TOC == null)
                TOC = ““;

            Book book = B

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     753664  2006-07-18 20:21  MyBookShop\Bin\FreeTextBox.dll

     文件      32768  2006-02-09 09:58  MyBookShop\Bin\WebValidates.dll

     目录          0  2008-01-08 11:03  MyBookShop\Bin

     目录          0  2008-01-08 11:03  MyBookShop\Data

     文件       5739  2008-01-07 10:03  MyBookShop\MyBookShop.sln

    ..A..H.    282624  2008-11-21 11:23  MyBookShop\MyBookShop.suo

     文件        811  2007-11-28 15:08  MyBookShop\MyBookShopBLL\Auto Generated Code\BookManager.cs

     文件       1053  2007-11-28 15:09  MyBookShop\MyBookShopBLL\Auto Generated Code\CategoryManager.cs

     文件       1362  2007-09-06 17:40  MyBookShop\MyBookShopBLL\Auto Generated Code\OrderBookManager.cs

     文件        960  2007-11-28 15:09  MyBookShop\MyBookShopBLL\Auto Generated Code\OrderManager.cs

     文件       1084  2007-11-28 15:09  MyBookShop\MyBookShopBLL\Auto Generated Code\PublisherManager.cs

     文件       1208  2007-11-28 15:09  MyBookShop\MyBookShopBLL\Auto Generated Code\SearchKeywordManager.cs

     文件       1225  2007-11-28 15:09  MyBookShop\MyBookShopBLL\Auto Generated Code\UserManager.cs

     文件       1159  2007-11-28 15:09  MyBookShop\MyBookShopBLL\Auto Generated Code\UserRoleManager.cs

     文件       1193  2007-11-28 15:09  MyBookShop\MyBookShopBLL\Auto Generated Code\UserStateManager.cs

     目录          0  2008-01-15 13:27  MyBookShop\MyBookShopBLL\Auto Generated Code

     目录          0  2008-11-21 10:26  MyBookShop\MyBookShopBLL\bin\Debug

     目录          0  2008-01-11 08:54  MyBookShop\MyBookShopBLL\bin

     文件       5535  2007-11-21 16:53  MyBookShop\MyBookShopBLL\BookManager.cs

     文件        698  2007-10-10 15:41  MyBookShop\MyBookShopBLL\CategoryManager.cs

     文件       3459  2008-01-07 10:03  MyBookShop\MyBookShopBLL\MyBookShopBLL.csproj

     文件        168  2007-08-09 10:37  MyBookShop\MyBookShopBLL\MyBookShopBLL.csproj.user

     文件        773  2007-11-13 09:01  MyBookShop\MyBookShopBLL\OrderBookManager.cs

     文件        725  2007-11-13 08:58  MyBookShop\MyBookShopBLL\OrdersManager.cs

     文件       1339  2007-07-27 14:11  MyBookShop\MyBookShopBLL\Properties\AssemblyInfo.cs

     目录          0  2008-01-15 13:27  MyBookShop\MyBookShopBLL\Properties

     文件        923  2008-01-08 10:17  MyBookShop\MyBookShopBLL\SearchKeywordManager.cs

     文件       4226  2007-11-28 15:41  MyBookShop\MyBookShopBLL\UserManager.cs

     目录          0  2008-11-21 10:26  MyBookShop\MyBookShopBLL\obj\Debug

     文件        280  2008-11-21 10:28  MyBookShop\MyBookShopBLL\obj\MyBookShopBLL.csproj.FileList.txt

............此处省略228个文件信息

评论

共有 条评论