private void appendDestinationWithNewType(OldFFDBDataSet.AccountTypeRow type) { AccountTypeDRM newAccountType = new AccountTypeDRM(type.name); sourceToDestinationID.Add(type.id, newAccountType.ID); destinationNames.Add(newAccountType.Name, newAccountType.ID); }
/////////////////////////////////////////////////////////// // Private functions private bool AccountTypeFilter(object item) { AccountTypeDRM envRow = (AccountTypeDRM)item; bool keepItem = true; // Assume the item will be shown in the list if (envRow.ID == AccountTypeCON.NULL.ID) { keepItem = false; } return(keepItem); }