摘要: 博客园有篇文章《小巧方便的ORM类库——PetaPoco》 介绍了PetaPoco调用存储过程://调用存储过程db.Execute("exec procSomeHandler @0, @1", 3, "2011-10-01");//调用带输出(OUTPUT)参数的存储过程, 写的sql语句,@0参数后的“output”是关键var param = new SqlParameter() { Direction = ParameterDirection.Output, SqlDbType = SqlDbType.Int };db.Execute(" 阅读全文
posted @ 2013-08-25 13:55 James-yu 阅读(4230) 评论(3) 推荐(2) 编辑