Beispiel #1
0
 partial void UpdateMParameter(MParameter instance);
Beispiel #2
0
 partial void InsertMParameter(MParameter instance);
Beispiel #3
0
        /// <summary>
        /// Update data
        /// </summary>
        /// <param name="param">Entity</param>
        /// <param name="ignoreDeleteFlag">IgnoreDeleteFlag</param>
        public void Update(MParameter param, bool ignoreDeleteFlag)
        {
            // Get entity
            var entity = GetSingle(param.ParamCd, ignoreDeleteFlag);

            // Set value
            entity.ParamValue = param.ParamValue;
            entity.UpdateUser = PageHelper.UserName;
            entity.UpdateDate = DateTime.Now;
        }
Beispiel #4
0
 partial void DeleteMParameter(MParameter instance);
Beispiel #5
0
        /// <summary>
        /// Update data
        /// </summary>
        /// <param name="param">Entity</param>
        /// <param name="ignoreDeleteFlag">IgnoreDeleteFlag</param>
        public void Update(MParameter entity, bool ignoreDeleteFlag)
        {
            // Check param
            if (DataCheckHelper.IsNull(entity.ParamCd))
                throw new ParamInvalidException();

            //Update value
            _comDao.Update(entity, ignoreDeleteFlag);
        }