Пример #1
0
 public void SaveError(string activity, string error)
 {
     Activity_log.Add(new Models.ACTIVITY_LOG {
         RecordTimeStamp = DateTime.Now, ActivityDesc = activity, Error = error
     });
     SaveChanges();
 }
Пример #2
0
 internal static void ActivityLogAdd(Activity_log o, IDbTransaction trans)
 {
     try
     {
         Activity_logMng oMng = new Activity_logMng()
         {
             O_Activity_log = o
         };
         oMng.add(trans);
     }
     catch
     {
         throw;
     }
 }