Пример #1
0
        protected override void ProcessRecord()
        {
            // Get-HrdSearch -Call pa3djy | Update-HrdQso
            if (!HamRadioDeluxeDatabase.CheckDatabaseOpen())
            {
                ThrowTerminatingError(new ErrorRecord(new Exception("You must call the Connect-HrdDatabase cmdlet before calling any other cmdlets."), "NotConnectedToDatabase", ErrorCategory.ConnectionError, this));
                return;
            }
            Boolean ToTitleCase = false;

            if (TitleCase)
            {
                ToTitleCase = true;
            }
            WriteVerbose("Start Update Qso.");
            RowsCounter = RowsCounter + HamRadioDeluxeDatabase.UpdateHrdQso(Key, Operator, ToTitleCase);
        }