Esempio n. 1
0
 partial void UpdateMParameter(MParameter instance);
Esempio n. 2
0
 partial void InsertMParameter(MParameter instance);
Esempio n. 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;
        }
Esempio n. 4
0
 partial void DeleteMParameter(MParameter instance);
Esempio n. 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);
        }