📄 yessellsbs.cs
字号:
using System;
using System.Collections;
using System.Data;
using HouseBE;
using HouseDA;
namespace HouseBS
{
/// <summary>
/// YesSellsBS 的摘要说明。
/// </summary>
public class YesSellsBS:CommonBS
{
private HouseBE.House _House;
private HouseDA.YesSellsDA _yesSellsDA;
private DataSet _ds;
private ArrayList list;
public HouseBE.House House
{
set
{
this._House=value;
}
get
{
return this._House;
}
}
public YesSellsBS()
{
//
// TODO: 在此处添加构造函数逻辑
//
this._ds=new DataSet();
this._yesSellsDA=new YesSellsDA();
}
#region CommonBS 成员
public void insert()
{
// TODO: 添加 YesSellsBS.insert 实现
this._yesSellsDA.house=this._House;
try
{
this._yesSellsDA.insert();
}
catch(Exception ex)
{
throw ex;
}
}
public void update()
{
// TODO: 添加 YesSellsBS.update 实现
this._yesSellsDA.house=this._House;
try
{
this._yesSellsDA.update();
}
catch(Exception ex)
{
throw ex;
}
}
public void delete()
{
// TODO: 添加 YesSellsBS.delete 实现
this._yesSellsDA.house=this._House;
try
{
this._yesSellsDA.delete();
}
catch(Exception ex)
{
throw ex;
}
}
public DataSet select()
{
// TODO: 添加 YesSellsBS.select 实现
try
{
this._ds=this._yesSellsDA.select();
}
catch(Exception ex)
{
throw ex;
}
return this._ds;
}
#endregion
//查询出所有的信息
public ArrayList getLou()
{
this.list=new ArrayList();
try
{
this.list=this._yesSellsDA.GetLou();
}
catch(Exception ex)
{
Console.WriteLine(ex.Message);
throw ex;
}
return this.list;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -