App_Code/Lesson.cs

(开头部分) 5KB

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

using System;
using System.Data;
using System.Text;
using System.Data.SqlClient;

	/// <summary>
	/// 类Lesson。
	/// </summary>
	[Serializable]
	public partial class Lesson
	{
		public Lesson()
		{}
		#region Model
		private int _lessonid;
		private string _lessonname;
		private int? _num;
		/// <summary>
		/// 科目ID
		/// </summary>
		public int LessonID
		{
			set{ _lessonid=value;}
			get{return _lessonid;}
		}
		/// <summary>
		/// 科目名称
		/// </summary>
		public string LessonName
		{
			set{ _lessonname=value;}
			get{return _lessonname;}
		}
		/// <summary>
		/// 排序
		/// </summary>
		public int? Num
		{
			set{ _num=value;}
			get{return _num;}
		}
		#endregion Model


		#region  Method

		
		/// <summary>
		/// 得到最大ID
		/// </summary>
		public int GetMaxId()
		{

		return DbHelperSQL.GetMaxID("LessonID", "Lesson"); 
		}

		/// <summary>
		/// 是否存在该记录
		/// </summary>
		public bool Exists(int LessonID)
后面还有 165 行代码,购买后查看完整代码

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

AI 解读 AI

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

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