BBSDAL/F_Forums.cs

(开头部分) 26KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Data;
using System.Text;
using System.Data.SqlClient;
using BaseDBUtility;//Please add references
namespace BBS.DAL
{
	/// <summary>
	/// 数据访问类:F_Forums
	/// </summary>
	public partial class F_Forums
	{
		public F_Forums()
		{}
		#region  Method

		/// <summary>
		///  增加一条数据
		/// </summary>
		public int Add(BBS.Model.F_Forums model)
		{
			int rowsAffected;
			SqlParameter[] parameters = {
					new SqlParameter("@id", SqlDbType.Int,4),
					new SqlParameter("@forumTitle", SqlDbType.NVarChar,64),
					new SqlParameter("@forumInfo", SqlDbType.NVarChar,4000),
					new SqlParameter("@isInUse", SqlDbType.Bit,1),
					new SqlParameter("@createTime", SqlDbType.DateTime),
					new SqlParameter("@orders", SqlDbType.Int,4),
					new SqlParameter("@subIds", SqlDbType.NText),
					new SqlParameter("@subForumTitles", SqlDbType.NText),
					new SqlParameter("@subForumCount", SqlDbType.Int,4),
					new SqlParameter("@postCount", SqlDbType.Int,4),
					new SqlParameter("@repliedCount", SqlDbType.Int,4),
					new SqlParameter("@needReplyCount", SqlDbType.Int,4),
					new SqlParameter("@lastViewUserId", SqlDbType.Int,4),
					new SqlParameter("@lastViewUser", SqlDbType.NVarChar,64),
					new SqlParameter("@lastViewDepartId", SqlDbType.Int,4),
					new SqlParameter("@lastViewDepart", SqlDbType.NVarChar,64),
					new SqlParameter("@lastViewIp", SqlDbType.NVarChar,32),
					new SqlParameter("@lastViewTime", SqlDbType.DateTime),
					new SqlParameter("@lastViewTopicId", SqlDbType.Int,4),
					new SqlParameter("@lastViewTopicTitle", SqlDbType.NVarChar,256),
					new SqlParameter("@lastPostUserId", SqlDbType.Int,4),
					new SqlParameter("@lastPostUser", SqlDbType.NVarChar,64),
					new SqlParameter("@lastPostDepartId", SqlDbType.Int,4),
					new SqlParameter("@lastPostDepart", SqlDbType.NVarChar,64),
					new SqlParameter("@lastPostTime", SqlDbType.DateTime),
					new SqlParameter("@lastPostIp", SqlDbType.NVarChar,32),
					new SqlParameter("@lastPostTopicId", SqlDbType.Int,4),
					new SqlParameter("@lastPostTopicTitle", SqlDbType.NVarChar,256),
					new SqlParameter("@lastReplyUserId", SqlDbType.Int,4),
					new SqlParameter("@lastReplyUser", SqlDbType.NVarChar,64),
					new SqlParameter("@lastReplyDepartId", SqlDbType.Int,4),
					new SqlParameter("@lastReplyDepart", SqlDbType.NVarChar,64),
					new SqlParameter("@lastReplyTime", SqlDbType.DateTime),
					new SqlParameter("@lastReplyIp", SqlDbType.NVarChar,32),
					new SqlParameter("@lastReplyTopicId", SqlDbType.Int,4),
					new SqlParameter("@lastReplyTopicTitle", SqlDbType.NVarChar,256),
					new SqlParameter("@lastVerifyUserId", SqlDbType.Int,4),
后面还有 536 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。