Пример #1
0
 static AppExceptionFilterAttribute()
 {
     EntityFrameworkErrorHandler.Init();
 }
Пример #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();
 }