Ejemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="xmlDoc"></param>
        public static void RealDeleteObjects(XmlDocument xmlDoc)
        {
            DataOpContext dataOpContext = InitEventContexts();

            dataOpContext.OnBeforeRealDeleteObjects(xmlDoc);

            using (TransactionScope scope = TransactionScopeFactory.Create())
            {
                dataOpContext.OnRealDeleteObjects(xmlDoc);
                scope.Complete();
            }
        }