摘要:
方法 封装 function GetQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if 阅读全文
摘要:
创建实例方法 参考:http://www.cnblogs.com/manglu/p/4115128.html InstancePerDependency 对每一个依赖或每一次调用创建一个新的唯一的实例。这也是默认的创建实例的方式。 官方文档解释:Configure the component so 阅读全文
摘要:
准备 使用的表是Student,创建相关的IDAL、DAL、IBLL、BLL层。 使用EF,创建一个Model层,存放edmx文件。 控制台程序的使用 using System; using System.Collections.Generic; using System.Linq; using S 阅读全文