AbstractDataProcessor<T>




Method: Update
This method handles updating data.

public void Update ()
public void Update (Where whereClause)
public void Update (Hashtable updates, Where whereClause)

Code example
Using the Hashtable option allows you to update a selected number of columns.

public void UpdateState(string state, int custID)
{
       try
       {
              //Update Customer State
              Hashtable newState = new Hashtable();
              newState.Add("CustomerState",state);
              new Customer().Update(newState, new SqlWhere().Clause("CustomerID",Num.Operator.equal, custID));
       }
       catch
       {
              throw;
       }
}