/// <summary> /// Uses the temporary configuration context. /// </summary> /// <param name="manager">The manager.</param> /// <returns>The temporary configuration context.</returns> public static IContext UseTemporaryConfigurationContext(this IRepositoryManager manager) { return(new TemporaryContextWrapper(manager, manager.CreateNewConfigurationContext())); }