NSun 1.0.0.1已在项目中应用。这次1.0.0.2的改动是以前2个版本的扩展,重构,修正版。修正了1.0.0.1在项目中遇到的问题和BUG。总结业务层常用方法,新增BLL代码生成器,使开发便的更方便。 Read More
posted @ 2009-08-28 11:46 Dacey Views(2415) Comments(6) Diggs(4) Edit
从NSun1.0.0.0更新至1.0.0.1。 更新内容: *修改1.0.0.0更新方法(Update)*修改1.0.0.1分页方法(SelectPageToList)*对1.0.0.0代码进行重构*对Nbearlite部分代码修改修改方法(Update) DBQuery<DeptInfo>.Default.Update(updateSqlSection, info);//传递修改条件... Read More
posted @ 2009-08-24 12:08 Dacey Views(2076) Comments(7) Diggs(2) Edit
以下是几个主流的.net ORM框架。 本测试对Hibernate 、Castle 、Gentle 、Linq2sql 、Entity Framework、 NSun 进行了横向对比测试NSun表现不凡 Read More
posted @ 2009-08-22 12:10 Dacey Views(4737) Comments(17) Diggs(4) Edit
使用NSun(框架)快速开发项目NSun简介: NSun基于.Net 2.0 快速开发框架设计,使用NbearLite作为基础进行二次封装,加入对实体的操作。发布网站: http://www.cnblogs.com/duanseven (对于NSun的更新以及教程)核心DLL: NSun.Core.dll NBearLite.dll NBear.Core.dll下载地址: NSunSample.r... Read More
posted @ 2009-08-21 15:27 Dacey Views(5265) Comments(26) Diggs(4) Edit
版权永远属于CSDN社区的清清月儿快速预览:GridView无代码分页排序GridView选中,编辑,取消,删除GridView正反双向排序GridView和下拉菜单DropDownList结合GridView和CheckBox结合鼠标移到GridView某一行时改变该行的背景色方法一鼠标移到GridView某一行时改变该行的背景色方法二GridView实现删除时弹出确认对话框GridView实现自动编号GridView实现自定义时间货币等字符串格式GridView实现用“...”代替超长字符串GridView一般换行与强制换行GridView显示隐藏某一列GridView弹出新页面/弹出新窗 Read More
posted @ 2009-01-25 22:19 Dacey Views(3283) Comments(0) Diggs(1) Edit
--insert触发器 createtriggertri_insert onstudent forinsert as declare@student_idchar(10) select@student_id=s.student_idfrom studentsinnerjoininsertedi ons.student_id=i.student_id if@student_id='000000000... Read More
posted @ 2009-01-20 12:36 Dacey Views(167) Comments(0) Diggs(0) Edit
begn transactiondeclare @errorsum intset @errorsum=0执行语句set @errorsum=@errorsum+@@error执行语句set @errorsum=@errorsum+@@errorif(@errorsum<>0)beginrollback transactionendelsebegincommit transactione... Read More
posted @ 2009-01-20 12:35 Dacey Views(174) Comments(0) Diggs(0) Edit
public IList GetArticleAll(int startRowIndex, int maximumRows, string sortstr) { int pa1 = (startRowIndex - 1) * maximumRows + 1; int pa2 = startRowIndex * maximumRo... Read More
posted @ 2009-01-20 12:25 Dacey Views(140) Comments(0) Diggs(0) Edit
SELECT s.id,s.name,s.tid,t.typename,c.counts,c.time into #abc FROM foods as s INNER JOIN foodtype as t ON s.tid = t.id INNER JOIN foodcount as c ON s.id=c.fid exec p_qry #abc,typename,[time],count... Read More
posted @ 2009-01-20 12:03 Dacey Views(114) Comments(0) Diggs(0) Edit
/*scroll表示可随意移动游标指针(否则只能向前),dynamic表示可以读写游标(否则游标只读)*/ DECLARE E1cursor cursor scroll dynamic /* 声明游标,默认为FORWARD_ONLY游标 */ FOR SELECT name FROM test OPEN E1cursor /* 打开游标 */ dec... Read More
posted @ 2009-01-20 12:03 Dacey Views(127) Comments(0) Diggs(0) Edit