?? specsbs.cs
字號:
using System;
using System.Data;
using HouseBE;
using HouseDA;
namespace HouseBS
{
/// <summary>
/// SpecsBS 的摘要說明。
/// </summary>
public class SpecsBS:CommonBS
{
private HouseBE.Specs _spec;
private HouseDA.SpecsDA _specDA;
private DataSet _ds;
public HouseBE.Specs spec
{
set
{
this._spec=value;
}
get
{
return this._spec;
}
}
public SpecsBS()
{
//
// TODO: 在此處添加構造函數邏輯
//
this._ds=new DataSet();
this._specDA=new SpecsDA();
}
#region CommonBS 成員
public void insert()
{
// TODO: 添加 SpecsBS.insert 實現
this._specDA.specs=this._spec;
try
{
this._specDA.insert();
}
catch(Exception ex)
{
throw ex;
}
}
public void update()
{
// TODO: 添加 SpecsBS.update 實現
this._specDA.specs=this._spec;
try
{
this._specDA.update();
}
catch(Exception ex)
{
throw ex;
}
}
public void delete()
{
// TODO: 添加 SpecsBS.delete 實現
this._specDA.specs=this._spec;
try
{
this._specDA.delete();
}
catch(Exception ex)
{
throw ex;
}
}
public DataSet select()
{
// TODO: 添加 SpecsBS.select 實現
try
{
this._ds=this._specDA.select();
}
catch(Exception ex)
{
throw ex;
}
return this._ds;
}
#endregion
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -