Exemple #1
0
 /// <summary>
 /// 检查是否存在 (count)
 /// </summary>
 public static bool Exists(this StringBuilder sql, ParCollection prams)
 {
     using (DBDalOperate dal = new DBDalOperate())
     {
         return(dal.Exists(sql, prams));
     }
 }
Exemple #2
0
 /// <summary>
 /// 检查是否存在 (count)
 /// </summary>
 public static bool Exists(this AutoPar auto)
 {
     using (DBDalOperate dal = new DBDalOperate())
     {
         auto.End();
         return(dal.Exists(auto.strSql, auto.pars));
     }
 }