Пример #1
0
        /// <summary>
        /// Save updates to DB
        /// </summary>
        public bool Update_to_DB()
        {
            HssUtility.SQLserver.DB_update upd = this.Get_DBupdate();
            if (upd == null)
            {
                return(false);
            }

            int  count = upd.SaveToDB(Utility.Get_DRWIN_hDB());
            bool flag  = count > 0;

            if (flag)
            {
                this.SyncWithDB();
            }

            return(flag);
        }