Beispiel #1
0
 /// <summary>
 /// 根据SQL验证实体对象是否存在
 /// </summary>
 public virtual bool IsExist(string sql, params DbParameter[] para)
 {
     return(DbContext.ExecuteBySQL(sql, para) > 0);
 }