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>
/// <param name="rebindAllBindings">Control whether all bindings in the artifact should be rebound</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, DeleteEFElementCommand cmd, bool rebindAllBindings)
        {
            cmd.RebindAllBindings = rebindAllBindings;
            CommandProcessor.InvokeSingleCommand(cpc, cmd);
        }
internal static void DeleteInTransaction ( CommandProcessorContext cpc , DeleteEFElementCommand cmd , bool rebindAllBindings ) { cmd . RebindAllBindings = rebindAllBindings ; CommandProcessor . InvokeSingleCommand ( cpc , cmd ) ; }
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
cmd
DeleteEFElementCommand
rebindAllBindings
bool
Control whether all bindings in the artifact should be rebound
Control whether all bindings in the artifact should be rebound
element
The EFElement to delete
The EFElement to delete