public void SetOriginalValues() { this.origianalValues = new HospitalModel(this.HospitalName, this.Address, this.City, this.State, this.HospitalId); }
public void RollbackHospital(HospitalModel model) { string sql = string.Format("Update Hospital SET HospitalName = '{0}', Address='{1}' .... WHERE id = '{2}'", model.OrigialValues.HospitalName, model.OrigialValues.Address, model.OrigialValues.HospitalId); //ExecuteSQL(sql); }