/// <summary> /// 增、删、改同步操作 /// </summary> /// <param name="connection">链接字符串</param> /// <param name="cmd">sql语句</param> /// <param name="param">参数</param> /// <param name="flag">true存储过程,false sql语句</param> /// <returns>int</returns> public int ExcuteNonQuery(string connection, string cmd, DynamicParameters param, bool flag = false) { return(_sqlhelper.ExcuteNonQuery(connection, cmd, param, flag)); }