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