?? notsellsbs.cs
字號:
using System;
using System.Data;
using HouseBE;
using HouseDA;
namespace HouseBS
{
/// <summary>
/// NotSellsBS 的摘要說明。
/// </summary>
public class NotSellsBS:CommonBS
{
private HouseBE.House _NotHouse;
private HouseDA.NotSellsDA _notSellsDA;
private DataSet _ds;
public HouseBE.House notSells
{
set
{
this._NotHouse=value;
}
get
{
return this._NotHouse;
}
}
public NotSellsBS()
{
//
// TODO: 在此處添加構(gòu)造函數(shù)邏輯
//
this._ds=new DataSet();
this._notSellsDA=new NotSellsDA();
}
#region CommonBS 成員
public void insert()
{
// TODO: 添加 NotSellsBS.insert 實(shí)現(xiàn)
this._notSellsDA.house=this._NotHouse;
try
{
this._notSellsDA.insert();
}
catch(Exception ex)
{
throw ex;
}
}
public void update()
{
// TODO: 添加 NotSellsBS.update 實(shí)現(xiàn)
this._notSellsDA.house=this._NotHouse;
try
{
this._notSellsDA.update();
}
catch(Exception ex)
{
throw ex;
}
}
public void delete()
{
// TODO: 添加 NotSellsBS.delete 實(shí)現(xiàn)
this._notSellsDA.house=this._NotHouse;
try
{
this._notSellsDA.delete();
}
catch(Exception ex)
{
throw ex;
}
}
public DataSet select()
{
// TODO: 添加 NotSellsBS.select 實(shí)現(xiàn)
try
{
this._ds=this._notSellsDA.select();
}
catch(Exception ex)
{
throw ex;
}
return this._ds;
}
#endregion
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -