/// <summary> /// /// </summary> /// <param name="xmlDoc"></param> public static void DelSecsOfLeader(XmlDocument xmlDoc) { DataOpContext dataOpContext = InitEventContexts(); dataOpContext.OnBeforeDelSecsOfLeader(xmlDoc); using (TransactionScope scope = TransactionScopeFactory.Create()) { dataOpContext.OnDelSecsOfLeader(xmlDoc); scope.Complete(); } }