資源簡介
一個asp.net的小網站,特貢獻出來,適合入門提高階段閱讀!
代碼片段和文件信息
//----------------------------------------------------------------------
//?Copyright(c)?CommentNet?All?rights?reserved.
//?[AST_BackManage]
//?Administrator?using?CodeSmith?5.0.0.0?generated.
//?2012/8/3.
//?
//?Generate?the?business?object.
//?
//----------------------------------------------------------------------
using?System;
using?System.Data;
using?System.Data.Common;
using?System.Data.SqlClient;
using?System.Collections.Generic;
using?System.Text;
using?Microsoft.Practices.EnterpriseLibrary.Data.Sql;
using?Syit.Model;
using?Syit.DAL;
namespace?Syit.BLL
{
///?
///?[AST_BackManage]
///?
public?partial?class?AST_BackManageBLL?:?IDisposable
{
#region?Protected?Variable
protected?AST_BackManageDAL?_idata?;
protected?SqlDatabase?_db;
#endregion
#region?Constructed?Function
public?AST_BackManageBLL()
{
this._db?=new?SqlDatabase(System.Configuration.ConfigurationManager.ConnectionStrings[“MyConnectionString“].ConnectionString);
Init();
}
protected?internal?AST_BackManageBLL(SqlDatabase?db)
{
this._db?=?db;
Init();
}
private?void?Init()
{
this._idata?=?new?AST_BackManageDAL(_db);
}
#endregion
#region?Method
#region?Insert
///?
///?Insert方法帶事務
///?
///?AST_BackManage
///?DbTransaction事務
protected?internal?void?Insert(AST_BackManage?data?DbTransaction?transaction?out?int?manageID)
{
this._idata.Insert(data?transaction?out?manageID);
}
///?
///?Insert方法
///?
///?AST_BackManage
public?void?Insert(AST_BackManage?data?out?int?manageID)
{
Insert(data?null?out?manageID);
}
#endregion
#region?Update
///?
///?Update方法
///?
///?AST_BackManage
///?DbTransaction事務
protected?internal?void?Update(AST_BackManage?data?DbTransaction?transaction)
{
this._idata.Update(data?transaction);
}
///?
///?Update方法
///?
///?AST_BackManage
public?void?Update(AST_BackManage?data)
{
Update(data?null);
}
#endregion
#region?InsertUpdate
///?
///?InsertUpdate帶事務
///?
///?AST_BackManage
///?DbTransaction事務
protected?internal?void?InsertUpdate(AST_BackManage?data?DbTransaction?transaction)
{
this._idata.InsertUpdate(data?transaction);
}
///?
///?InsertUpdate
///?
///?AST_BackManage
public?void?InsertUpdate(AST_B
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-08-12?20:15??AgentShowTable-Source(20120812)\
?????文件????????3802??2012-08-12?21:34??AgentShowTable-Source(20120812)\AgentShowTable.sln
?????文件???????78848??2012-08-12?21:57??AgentShowTable-Source(20120812)\AgentShowTable.suo
?????目錄???????????0??2012-08-11?11:57??AgentShowTable-Source(20120812)\AgentShowTB\
?????文件????????2648??2012-08-07?21:51??AgentShowTable-Source(20120812)\AgentShowTB\AgentShowTB.wdproj
?????目錄???????????0??2012-08-12?22:06??AgentShowTable-Source(20120812)\AgentShowTB\Debug\
?????目錄???????????0??2012-08-12?22:04??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\
?????文件????????1975??2012-08-12?21:59??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\AddConsortium.aspx
?????文件????????9193??2012-08-12?21:59??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\AddInfoShow.aspx
?????文件????????1959??2012-08-12?21:59??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\AddOffice.aspx
?????文件????????1959??2012-08-12?21:59??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\AddStates.aspx
?????文件????????2182??2012-08-12?21:59??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\AddUser.aspx
?????文件????????1955??2012-08-12?21:59??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\AddUserType.aspx
?????文件????????6108??2012-08-12?21:59??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\Consortium.aspx
?????文件????????3983??2012-08-05?23:25??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\error.htm
?????文件????????3989??2012-08-08?14:51??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\error2.htm
?????目錄???????????0??2012-08-12?22:04??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\images\
?????文件?????????197??2012-08-07?17:30??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\images\bg.gif
?????文件?????????979??2012-08-07?17:30??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\images\dl.gif
?????文件??????????77??2012-08-07?17:30??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\images\emessage.gif
?????文件???????21938??2012-08-07?17:30??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\images\error.gif
?????文件?????????222??2012-08-07?17:30??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\images\left.gif
?????文件????????5213??2012-08-07?17:30??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\images\login_03.gif
?????文件???????18662??2012-08-07?17:30??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\images\login_04.gif
?????文件???????14512??2012-08-07?17:30??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\images\login_06.gif
?????文件????????2442??2012-08-07?17:30??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\images\login_07.gif
?????文件????????4681??2012-08-07?17:30??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\images\login_08.gif
?????文件???????21673??2012-08-07?17:30??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\images\login_09.gif
?????文件?????????220??2012-08-07?17:30??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\images\right.gif
?????文件????????2398??2012-08-12?21:59??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\ImportExcel.aspx
?????文件????????6965??2012-08-12?21:59??AgentShowTable-Source(20120812)\AgentShowTB\Debug\admin\index.aspx
............此處省略2996個文件信息
評論
共有 條評論