HN.BLL/Area.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using HN.Model;
using HN.Utility;
namespace HN.BLL
{
/// <summary>
/// Area
/// Author 2016-03-20
/// </summary>
public class Area
{
private readonly DAL.Area dal=new DAL.Area();
public Area()
{}
#region 是否存在该记录 Exists(object tran,int AreaID)
/// <summary>
/// 是否存在该记录
/// Author 2016-03-20
/// </summary>
public bool Exists(object tran,int AreaID)
{
return dal.Exists(tran,AreaID);
}
#endregion
#region 增加一条数据 Add(object tran,AreaInfo model)
/// <summary>
/// 增加一条数据
/// Author 2016-03-20
/// </summary>
public bool Add(object tran,AreaInfo model)
{
return dal.Add(tran,model);
}
#endregion
#region 更新一条数据 Update(object tran,AreaInfo model)
/// <summary>
/// 更新一条数据
/// Author 2016-03-20
/// </summary>
public bool Update(object tran,AreaInfo model)
{
return dal.Update(tran,model);
}
#endregion
#region 删除一条数据 Delete(object tran,int AreaID)
/// <summary>
/// 删除一条数据
/// Author 2016-03-20
/// </summary>
public bool Delete(object tran,int AreaID)
{
return dal.Delete(tran,AreaID);
后面还有 25 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
