/// <summary> /// 动态Sql拼接, /// </summary> /// <typeparam name="T"></typeparam> /// <param name="where"></param> /// <param name="args"></param> /// <returns></returns> public WhereHelper <T> Where <T>(string where, params object[] args) where T : class, new() { var whereHelper = new WhereHelper <T>(this); if (string.IsNullOrEmpty(where)) { throw new ArgumentNullException("where"); } whereHelper.where (where, args); return(whereHelper); }