/// <summary> /// Sets/Saves the current values to the original values class /// </summary> public override void SetOriginalValues() { m_Original = (StandardSettingData)m_Current.Clone(); }
/// <summary> /// Constructor used to create an instance of this table using the /// provided data class. /// </summary> public StandardSetting(SqlHelper db, StandardSettingData data) : this(db, data.Code) { SetCurrentValues(data); }
/// <summary> /// Sets the properties of the object from an instance of the data class. /// </summary> public void SetCurrentValues(StandardSettingData data) { // set all fields Code = data.Code; Value = data.Value; }