日期:2014-05-17 浏览次数:20391 次
CREATE DEFINER = 'root'@'localhost' PROCEDURE etm_one.P_CourseConflat(IN P_StartCourseGuid CHAR(36), IN P_EndCourseGuid CHAR(36), OUT ResultNum INT)
DbParameter[] parameter = new DbParameter[]{dbHelper.CreateInDbParameter("P_StartCourseGuid",DbType.Guid,StartCourseGuid), dbHelper.CreateInDbParameter("P_EndCourseGuid",DbType.Guid,EndCourseGuid), dbHelper.CreateOutDbParameter("ReturnNum",DbType.Int32,result)}; dbHelper.ExecuteNonQuery(CommandType.StoredProcedure, "P_CourseConflat", parameter); result = GetInt(parameter[2].Value);