Exemplo n.º 1
0
 private static void LogListener_LogCreated(object sender, LogCreatedEventArgs e)
 {
     try
     {
         _dataContext.Logs.InsertOnSubmit(e.Log);
         _dataContext.SubmitChanges();
     }
     catch (Exception ex)
     {
         string error = string.Empty;
     }
 }
Exemplo n.º 2
0
 private static void LogListener_LogCreated(object sender, LogCreatedEventArgs e)
 {
     try
     {
         _dataContext.Logs.InsertOnSubmit(e.Log);
         _dataContext.SubmitChanges();
     }
     catch (Exception ex)
     {
         string error = string.Empty;
     }
 }