Ejemplo 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;
     }
 }
Ejemplo 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;
     }
 }