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