Example #1
0
 /// <summary>
 /// 执行存储过程,返回第一行第一列的值,用于查询
 /// </summary>
 /// <param name="ProcName"></param>
 /// <param name="pars"></param>
 /// <returns></returns>
 public int ExcuteScalarProc(string ProcName, CmdParameter[] pars)
 {
     // return 1;
     SqlParameter[] sqlPrams = ConvertParameter(pars);
     return(sqlHelper.ExcuteScalarProc(ProcName, sqlPrams));
 }