linq to entity Oracle 执行存储过程或函数

  var is_over = new ObjectParameter("ISOVER", typeof(string));
                context.ExecuteFunction("AERO_STATUS_JUDGE", new ObjectParameter("AERO_ID", aero_id), is_over);
                string ret = is_over.Value.ToString();

 int K = context.ExecuteStoreCommand("delete from SRC_DEF_PLATFORM_AEROCRAFT where PLATFORM_ID = "+id);

posted @ 2013-05-13 16:42  louiskoo  阅读(558)  评论(0编辑  收藏  举报