Example #1
0
 /// <summary>Update the value of the specific field of the current record.</summary>
 /// <param name="fName">ESE column name to load from the table.</param>
 /// <param name="value">New field value.</param>
 /// <remarks>This method was implemented as the performance optimization:
 /// when you only need to update a single field, and you don't have the complete object.</remarks>
 public void SaveSingleField(string fName, object value)
 {
     using (var u = new Update(this.idSession, this.idTable, JET_prep.Replace))
     {
         m_serializer.SaveSingleField(this, fName, value);
         u.Save();
     }
 }