예제 #1
0
파일: Item.cs 프로젝트: NecroSharper/WCell
        /// <summary>
        /// Saves all recent changes that were made to this Item to the DB
        /// </summary>
        public void Save()
        {
            if (IsDeleted)
            {
                LogUtil.ErrorException(new InvalidOperationException("Trying to save deleted Item: " + this));
                return;
            }

            m_record.SaveAndFlush();
        }