src/Misc/EFTools/XmlCore/Model/Commands/DeleteEFElementCommand.cs
/// <summary>
///     This will create a transaction if there isn't one already.  If the CommandProcessorContext is already
///     tracking a transaction, then a new one is NOT created.
/// </summary>
/// <param name="cpc"></param>
/// <param name="element">The EFElement to delete</param>
This will create a transaction if there isn't one already.  If the CommandProcessorContext is already
tracking a transaction, then a new one is NOT created.
This will create a transaction if there isn ' t one already . If the CommandProcessorContext is already tracking a transaction then a new one is NOT created .
internal static void DeleteInTransaction(CommandProcessorContext cpc, EFElement element)
        {
            var cmd = element.GetDeleteCommand();
            DeleteInTransaction(cpc, cmd, true);
        }
internal static void DeleteInTransaction ( CommandProcessorContext cpc , EFElement element ) { var cmd = element . GetDeleteCommand ( ) ; DeleteInTransaction ( cpc , cmd , true ) ; }
This will create a transaction if there isn't one already.
This will create a transaction if there isn ' t one already .
cpc
CommandProcessorContext
None
element
EFElement
The EFElement to delete
The EFElement to delete