internal static void TestEnsureUpdateAllInterfaces() { using (TimerProfilerFacade.CreateTimerProfiler()) { foreach (Type interfaceType in DataProviderRegistry.AllInterfaces) { if (!interfaceType.IsAutoUpdateble() || interfaceType.IsGenerated()) { continue; } foreach (string providerName in DataProviderRegistry.GetDataProviderNamesByInterfaceType(interfaceType)) { try { if (DynamicTypeManager.IsEnsureUpdateStoreNeeded(interfaceType)) { Log.LogError(LogTitle, "Autoupdating the data interface '{0}' on the '{1}' data provider failed!", interfaceType, providerName); } } catch (Exception ex) { Log.LogCritical(LogTitle, "Update failed for the interface '{0}' on the '{1}' data provider", interfaceType, providerName); Log.LogCritical(LogTitle, ex); } } } } }