05 2018 档案
Entity Framework 小技巧五 —— 如何得到EF查询生成的SQL?
摘要:Entity Framework 小技巧五 —— 如何得到EF查询生成的SQL? 最近挺忙的,只能为大家带来一些使用EF的小技巧。有关EF4.1的使用与探索将在之后一段时间为大家奉上。今天为大家带来如何得到EF查询所生成的SQL。 在EF 4和EF 3.5 SP1中,我们可以使用ToTraceStr
阅读全文
浅谈SQL Server数据库分页
摘要:浅谈SQL Server数据库分页 数据库分页是老生常谈的问题了。如果使用ORM框架,再使用LINQ的话,一个Skip和Take就可以搞定。但是有时由于限制,需要使用存储过程来实现。在SQLServer中使用存储过程实现分页的已经有很多方法了。之前在面试中遇到过这一问题,问如何高效实现数据库分页。刚
阅读全文
jQuery JTemplate
摘要:Client templating with jQuery and JSON (CSASPNETClientTemplateJQueryJSON) Summary This project illustrates how to display a tabular data to users base
阅读全文
jQuery.focusEnd()
摘要:<script> jQuery.fn.setCursorPosition = function(position) { if(this.lengh == 0) return this; return $(this).setSelection(position, position); } jQuery
阅读全文
DataSet DataTable AsEnumerable linq
摘要://必须要引用的两个命空间 using System.Data;using System.Linq;using System.Data.Linq; public void UpdateFormulaSet(FormulaSetFilterCondition entity) { var dataAcc
阅读全文
浙公网安备 33010602011771号