SetupOperDBLibrary/SetupDeleteShopingType.cs

(完整代码) 575B

using System;
using ConnectDBLibrary;


namespace SetupOperDBLibrary
{
	/// <summary>
	/// SetupDeleteShopingType 的摘要说明。
	/// </summary>
	public class SetupDeleteShopingType
	{
		public bool DeleteShopingType(string tid)
		{
			bool bl=false;
			try
			{
				string cmtxt=string.Format("delete from TypeRoom where tid={0}",tid);
				ConnectAndAccessingDB db=new ConnectAndAccessingDB();
				bl=db.Update(cmtxt);
			}
			catch(Exception ex)
			{
				throw new ApplicationException("SetupDeleteShopingType===",ex);
			}
			return bl;
		}
	}
}

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

AI 解读

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

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