/// <summary> /// get list of CConvert_unit_measurement by field /// </summary> /// <param name="fieldName">field name</param> /// <param name="value">value</param> /// <returns>list</returns> public List <CConvert_unit_measurement> GetAllBy(CConvert_unit_measurement.CConvert_unit_measurementFields fieldName, object value) { return(_dataObject.SelectByField(fieldName.ToString(), value)); }
/// <summary> /// delete CConvert_unit_measurement by field. /// </summary> /// <param name="fieldName">field name</param> /// <param name="value">value</param> /// <returns>true for successfully deleted</returns> public bool Delete(CConvert_unit_measurement.CConvert_unit_measurementFields fieldName, object value) { return(_dataObject.DeleteByField(fieldName.ToString(), value)); }