static AppExceptionFilterAttribute()
 {
     EntityFrameworkErrorHandler.Init();
 }
Beispiel #2
0
 public static void Init(ParameterizedThreadStart errorAnalizer = null, int appId = 0, string appName = "", string userName = "")
 {
     InitParams(errorAnalizer, appId, appName, userName);
     AppDomain.CurrentDomain.UnhandledException += CurrentDomainUnhandledException;
     EntityFrameworkErrorHandler.Init();
 }