?? 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: 在此處添加構(gòu)造函數(shù)邏輯
//
this._ds=new DataSet();
this._yesSellsDA=new YesSellsDA();
}
#region CommonBS 成員
public void insert()
{
// TODO: 添加 YesSellsBS.insert 實(shí)現(xiàn)
this._yesSellsDA.house=this._House;
try
{
this._yesSellsDA.insert();
}
catch(Exception ex)
{
throw ex;
}
}
public void update()
{
// TODO: 添加 YesSellsBS.update 實(shí)現(xiàn)
this._yesSellsDA.house=this._House;
try
{
this._yesSellsDA.update();
}
catch(Exception ex)
{
throw ex;
}
}
public void delete()
{
// TODO: 添加 YesSellsBS.delete 實(shí)現(xiàn)
this._yesSellsDA.house=this._House;
try
{
this._yesSellsDA.delete();
}
catch(Exception ex)
{
throw ex;
}
}
public DataSet select()
{
// TODO: 添加 YesSellsBS.select 實(shí)現(xiàn)
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;
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -