/// <summary>
 /// 自定义修改
 /// </summary>
 /// <param name="updateField">更新字段</param>
 /// <param name="whereField">条件字段</param>
 /// <returns>执行成功返回true,否则为false</returns>
 public bool Update(CommentsFieldValuePair updateField, CommentsWhereFields whereField)
 {
     List<CommentsFieldValuePair> updateFields=new List<CommentsFieldValuePair>();
      List<CommentsWhereFields> whereFields= new List<CommentsWhereFields>();
      updateFields.Add(updateField);
      whereFields.Add(whereField);
      return dataAccess.Update(updateFields,whereFields);
 }
 /// <summary>
 /// 自定义修改
 /// </summary>
 /// <param name="updateField">更新字段</param>
 /// <returns>执行成功返回true,否则为false</returns>
 public bool Update(CommentsFieldValuePair updateField)
 {
     List<CommentsFieldValuePair> updateFields=new List<CommentsFieldValuePair>();
      updateFields.Add(updateField);
      return dataAccess.Update(updateField,null);
 }
 /// <summary>
 /// 自定义修改
 /// </summary>
 /// <param name="update">更新字段</param>
 /// <param name="where">条件字段</param>
 /// <param name="transaction">事务</param>
 /// <returns>执行成功返回true,否则为false</returns>
 public bool Update(CommentsFieldValuePair update,CommentsWhereFields where,DbTransaction transaction)
 {
     List<CommentsFieldValuePair> updates=new List<CommentsFieldValuePair> ();
     if(update !=null)
     {
         updates.Add(update);
     }
     List<CommentsWhereFields> wheres = new List<CommentsWhereFields>();
     if(where !=null)
     {
         wheres.Add(where);
     }
     return Update(updates,wheres,transaction);
 }