Ejemplo n.º 1
0
        protected override bool DeletingItem(object item)
        {
            WorkStationInfo info   = (WorkStationInfo)item;
            CommandResult   result = bll.Delete(info);

            return(result.Result == ResultCode.Successful);
        }
Ejemplo n.º 2
0
        protected override bool DeletingItem(object item)
        {
            WorkStationInfo info   = (WorkStationInfo)item;
            CommandResult   result = bll.Delete(info);

            if (result.Result == ResultCode.Successful && DataBaseConnectionsManager.Current.StandbyConnected)
            {
                WorkstationBll swbll = new WorkstationBll(AppSettings.CurrentSetting.CurrentStandbyConnect);
                swbll.Delete(info);
            }
            return(result.Result == ResultCode.Successful);
        }