首页 > 代码库 > EF调用存储过程

EF调用存储过程

1                 var objPar1 = new System.Data.Objects.ObjectParameter("ExeResults",typeof(bool));2                 var objPar2 = new System.Data.Objects.ObjectParameter("ExeDes", typeof(string));3                 db.proOrdercomplete(id, (decimal)(0.1), objPar1, objPar2);4                 return Content(objPar1.Value.ToString() + "--" + objPar2.Value.ToString());

 

EF调用存储过程