/// <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>
 internal static void DeleteInTransaction(CommandProcessorContext cpc, EFElement element)
 {
     var cmd = element.GetDeleteCommand();
     DeleteInTransaction(cpc, cmd, true);
 }
Exemplo n.º 2
0
        /// <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>
        internal static void DeleteInTransaction(CommandProcessorContext cpc, EFElement element)
        {
            var cmd = element.GetDeleteCommand();

            DeleteInTransaction(cpc, cmd, true);
        }