資源簡(jiǎn)介
非常好的代碼生成工具,附帶源碼,非常感謝teddy
http://teddyma.cnblogs.com

代碼片段和文件信息
#region?auto-generated
//------------------------------------------------------------------------------
//?
//?????此代碼由?CodingBuilder(中文名稱:代碼民工)?v3.2.61206.26177?生成。
//?????運(yùn)行庫版本:2.0.50727.42
//
//?????CodingBuilder是?Clark?Chan?開發(fā)完成的輔助代碼工具。
//?????版權(quán)所有?(C)?Clark?Chan,保留所有權(quán)利。嚴(yán)禁非授權(quán)的商業(yè)應(yīng)用!
//?????博客:http://clarkchan.cnblogs.com/
//
//?????生成日期:2006年12月06日?14:36:11?。
//?????對(duì)此文件的更改可能會(huì)導(dǎo)致不正確的行為。
//?
//------------------------------------------------------------------------------
#endregion
using?System;
using?System.Collections.Generic;
using?System.Data;
using?Taeheesoft.NToggery.DALFactory;
using?Taeheesoft.NToggery.IDAL;
using?Taeheesoft.NToggery.Model;
//??Business?Logic?Tier
namespace?Taeheesoft.NToggery.BLL
{
????///?
????///?A?business?component?to?manage?Demo?s.
????///?
????public?class?Demo
????{
????????//?Get?an?instance?of?the?Demo?DAL?using?the?DALFactory
????????//?Making?this?static?will?cache?the?DAL?instance?after?the?initial?load
????????private?static?readonly?IDemo?dal?=?DataAccess.CreateDemo();
????????#region?Default?constructor
????????public?Demo()?{?}
????????#endregion
????????#region?Public?functions
????????#region?Add
????????///?
????????///?Add?a?new?record.
????????///?
????????///?
????????///?添加一條新記錄。
????????///?
????????///?A?Demo?model.
????????public?void?Add(DemoModel?demoModel)
????????{
????????????dal.Insert(demoModel);
????????}
????????#endregion
????????#region?Delete
????????///?
????????///?Delete?a?existing?record.
????????///?
????????///?
????????///?刪除一條現(xiàn)有的記錄。
????????///?
????????///?A?Demo?model.
????????public?void?Delete(DemoModel?demoModel)
????????{
????????????dal.Delete(demoModel);
????????}
????????#endregion
????????#region?Edit
????????///?
????????///?Edit?a?existing?record.
????????///?
????????///?
????????///?修改一條現(xiàn)有的記錄。
????????///?
????????///?A?Demo?model.
????????public?void?Edit(DemoModel?demoModel)
????????{
????????????dal.Update(demoModel);
????????}
????????#endregion
????????#region?View
????????///?
????????///?Query?for?a?Demo?model.
????????///?
????????///?
????????///?查看一條記錄。
????????///?
????????///?A?Demo?model.
????????///?Interface?to?model?a?Demo.
????????public?DemoModel?View(DemoModel?demoModel)
????????{
????????????return?dal.SelectOne(demoModel);
????????}
????????#endregion
????????#region?Query
????????///?
????????///?Query?for?Demo?List.
????????///?
????????///?
????????///?查詢多條記錄(IList范型存儲(chǔ))。
????????///?
????????///?A?D
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????680??2006-11-11?19:00??引用說明.txt
?????目錄??????????0??2006-12-06?15:43??BACKUP
?????文件????1638400??2006-12-06?15:42??Databa
?????文件????1048576??2006-12-06?15:42??Databa
?????目錄??????????0??2006-12-06?15:42??Databa
?????文件??????57396??2006-12-06?12:41??Documents\CB_01.jpg
?????文件??????89104??2006-12-06?12:43??Documents\CB_02_01.jpg
?????文件??????96214??2006-12-06?12:42??Documents\CB_02_02.jpg
?????文件??????94265??2006-12-06?12:44??Documents\CB_03.jpg
?????文件?????149626??2006-12-06?12:50??Documents\CB_04.jpg
?????文件?????127717??2006-12-06?12:50??Documents\CB_05.jpg
?????文件??????68185??2006-12-06?12:52??Documents\CB_ColumnSchema.jpg
?????文件??????71168??2006-12-06?15:35??Documents\NToggery?開發(fā)之旅(01)?-?程序架構(gòu).doc
?????文件?????734208??2006-12-06?15:36??Documents\NToggery?開發(fā)之旅(02)?-?代碼生成.doc
????..A.SH.?????24576??2006-12-06?13:31??Documents\Thumbs.db
?????目錄??????????0??2006-12-06?15:42??Documents
?????文件???????4016??2006-11-10?18:17??Src\BLL\Account\Sample.cs
?????文件????????157??2006-11-08?10:14??Src\BLL\Account\UserProfile.cs
?????目錄??????????0??2006-12-06?15:42??Src\BLL\Account
?????文件???????2786??2006-11-08?10:15??Src\BLL\BLL.csproj
?????文件????????269??2006-10-05?11:46??Src\BLL\BLL.csproj.vspscc
?????文件???????3401??2006-12-06?14:36??Src\BLL\Demo.cs
?????文件????????160??2006-10-05?11:46??Src\BLL\mssccprj.scc
?????文件???????1416??2006-12-06?14:39??Src\BLL\Properties\AssemblyInfo.cs
????..A.SHR???????115??2006-10-05?11:46??Src\BLL\Properties\vssver2.scc
?????目錄??????????0??2006-12-06?15:42??Src\BLL\Properties
????..A.SHR???????157??2006-10-05?11:46??Src\BLL\vssver2.scc
?????目錄??????????0??2006-12-06?15:46??Src\BLL
?????文件???????2402??2006-11-08?10:15??Src\DALFactory\DALFactory.csproj
?????文件????????276??2006-10-05?11:46??Src\DALFactory\DALFactory.csproj.vspscc
............此處省略136個(gè)文件信息
評(píng)論
共有 條評(píng)論