摘要:
Linq操作存储过程,需要在继承DataContext的类中添加存储过程的执行函数例如执行一个不带参数的存储过程,声明如下:[Function(Name = "GetMyInt")]public ISingleResult<MENU_TBL> GetInt(){ IExecuteResult res = this.ExecuteMethodCall(this,((MethodInfo)MethodInfo.GetCurrentMethod())); return ((ISingleResult<MENU_TBL>)(res.ReturnValue)) 阅读全文
posted @ 2012-09-11 15:50
流上
阅读(1112)
评论(0)
推荐(0)
浙公网安备 33010602011771号