src/Misc/EFTools/EntityDesign/UI/ViewModels/MappingDetails/Association/MappingAssociationSet.cs
// <summary>
//     NOTE: The association set mapping view model doesn't keep a reference to the mapping model item. Instead, it
//     keeps it to the AssociationSet and then it can find the AssociationSetMapping as an anti-dep.  We don't need to clear
//     or set the ModelItem property.
// </summary>
The association set mapping view model doesn't keep a reference to the mapping model item. Instead, it
keeps it to the AssociationSet and then it can find the AssociationSetMapping as an anti-dep.  We don't need to clear
or set the ModelItem property.
The association set mapping view model doesn ' t keep a reference to the mapping model item . Instead it keeps it to the AssociationSet and then it can find the AssociationSetMapping as an anti - dep . We don ' t need to clear or set the ModelItem property .
internal override void DeleteModelItem(CommandProcessorContext cpc)
        {
            if (IsModelItemDeleted() == false)
            {
                if (cpc == null)
                {
                    cpc = new CommandProcessorContext(
                        Context, EfiTransactionOriginator.MappingDetailsOriginatorId, Resources.Tx_DeleteAssociationSetMapping);
                }
                DeleteEFElementCommand.DeleteInTransaction(cpc, AssociationSet.AssociationSetMapping);
            }
        }
internal override void DeleteModelItem ( CommandProcessorContext cpc ) { if ( IsModelItemDeleted ( ) == false ) { if ( cpc == null ) { cpc = new CommandProcessorContext ( Context , EfiTransactionOriginator . MappingDetailsOriginatorId , Resources . Tx_DeleteAssociationSetMapping ) ; } DeleteEFElementCommand . DeleteInTransaction ( cpc , AssociationSet . AssociationSetMapping ) ; } }
NOTE: The association set mapping view model doesn't keep a reference to the mapping model item.
NOTE : The association set mapping view model doesn ' t keep a reference to the mapping model item .
// create a context if we weren't passed one
cpc
CommandProcessorContext