资源简介
用C#.NET+SqlServer2005开发的,基于B/S三层架构的工厂模式。是本人和自己的团队开发的!很适合用于大学本科毕业设计的参考!
代码片段和文件信息
//============================================================
// Version: 1.0
// Auto generated at: 2010-9-5 17:12:26
//============================================================
using System;
using System.Collections.Generic;
using System.Text;
using MyNovelWeb.DAL;
using MyNovelWeb.Models;
namespace MyNovelWeb.BLL
{
public static partial class NovelManager
{
public static Novel AddNovel(Novel novel)
{
return NovelService.AddNovel(novel);
}
public static void DeleteNovel(Novel novel)
{
NovelService.DeleteNovel(novel);
}
public static void DeleteNovelById(int id)
{
NovelService.DeleteNovelById(id);
}
//public static void ModifyNovel(Novel novel)
//{
// NovelService.ModifyNovel(novel);
//}
public static void ModifyNovel(string title string author DateTime date string contentDescriptionint idint novelTypeId)
{
if (contentDescription == null)
contentDescription = ““;
Novel novel=NovelService.GetNovelById(id);
novel.title=title;
novel.Author=author;
novel.Date=date;
novel.ContentDescription = contentDescription;
novel.NovelType = NovelTypeManager.GetNovelTypeById(novelTypeId);
NovelService.ModifyNovel(novel);
}
public static IList GetAllNovels()
{
return NovelService.GetAllNovels();
}
public static Novel GetNovelById(int id)
{
return NovelService.GetNovelById(id);
}
public static IList GetNovelByKeyword(string keyword)
{
return NovelService.GetAllNovelsByKeyword(keyword);
}
public static IList GetNovelByType(string typeid)
{
return NovelService.GetAllNovelsByType(typeid);
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5633 2010-09-08 14:35 MyNovelWeb\MyNovelWeb.sln
..A..H. 55808 2010-09-12 09:22 MyNovelWeb\MyNovelWeb.suo
文件 20480 2010-09-11 14:27 MyNovelWeb\MyNovelWebBLL\bin\Debug\MyNovelWebBLL.dll
文件 34304 2010-09-11 14:27 MyNovelWeb\MyNovelWebBLL\bin\Debug\MyNovelWebBLL.pdb
文件 36864 2010-09-11 11:41 MyNovelWeb\MyNovelWebBLL\bin\Debug\MyNovelWebDAL.dll
文件 60928 2010-09-11 11:41 MyNovelWeb\MyNovelWebBLL\bin\Debug\MyNovelWebDAL.pdb
文件 20480 2010-09-11 11:41 MyNovelWeb\MyNovelWebBLL\bin\Debug\MyNovelWebModels.dll
文件 34304 2010-09-11 11:41 MyNovelWeb\MyNovelWebBLL\bin\Debug\MyNovelWebModels.pdb
文件 2634 2010-09-06 16:16 MyNovelWeb\MyNovelWebBLL\MyNovelWebBLL.csproj
文件 2084 2010-09-11 14:27 MyNovelWeb\MyNovelWebBLL\NovelManager.cs
文件 1276 2010-09-05 17:14 MyNovelWeb\MyNovelWebBLL\NovelTypeManager.cs
文件 20480 2010-09-11 14:27 MyNovelWeb\MyNovelWebBLL\obj\Debug\MyNovelWebBLL.dll
文件 34304 2010-09-11 14:27 MyNovelWeb\MyNovelWebBLL\obj\Debug\MyNovelWebBLL.pdb
文件 16384 2010-09-11 14:49 MyNovelWeb\MyNovelWebBLL\obj\Debug\Refactor\MyNovelWebBLL.dll
文件 4897 2010-09-11 11:41 MyNovelWeb\MyNovelWebBLL\obj\Debug\ResolveAssemblyReference.cache
文件 280 2010-09-12 09:20 MyNovelWeb\MyNovelWebBLL\obj\MyNovelWebBLL.csproj.FileList.txt
文件 532 2010-09-10 11:18 MyNovelWeb\MyNovelWebBLL\obj\MyNovelWebBLL.csproj.FileListAbsolute.txt
文件 1331 2010-09-05 14:52 MyNovelWeb\MyNovelWebBLL\Properties\AssemblyInfo.cs
文件 1400 2010-09-05 17:14 MyNovelWeb\MyNovelWebBLL\SearchKeyWordManager.cs
文件 2727 2010-09-11 10:09 MyNovelWeb\MyNovelWebBLL\UserManager.cs
文件 1245 2010-09-05 17:14 MyNovelWeb\MyNovelWebBLL\UserRoleManager.cs
文件 1276 2010-09-05 17:14 MyNovelWeb\MyNovelWebBLL\UserStateManager.cs
文件 36864 2010-09-11 11:41 MyNovelWeb\MyNovelWebDAL\bin\Debug\MyNovelWebDAL.dll
文件 60928 2010-09-11 11:41 MyNovelWeb\MyNovelWebDAL\bin\Debug\MyNovelWebDAL.pdb
文件 20480 2010-09-11 11:41 MyNovelWeb\MyNovelWebDAL\bin\Debug\MyNovelWebModels.dll
文件 34304 2010-09-11 11:41 MyNovelWeb\MyNovelWebDAL\bin\Debug\MyNovelWebModels.pdb
文件 4223 2010-09-10 19:34 MyNovelWeb\MyNovelWebDAL\DBHelper.cs
文件 2477 2010-09-06 16:16 MyNovelWeb\MyNovelWebDAL\MyNovelWebDAL.csproj
文件 6594 2010-09-11 11:41 MyNovelWeb\MyNovelWebDAL\NovelService.cs
文件 4554 2010-09-05 17:14 MyNovelWeb\MyNovelWebDAL\NovelTypeService.cs
............此处省略282个文件信息
- 上一篇:英语原文字幕生成器非源码
- 下一篇:基于ASP.NET的博客系统源代码 BLOG
评论
共有 条评论