public void SaveError(string activity, string error) { Activity_log.Add(new Models.ACTIVITY_LOG { RecordTimeStamp = DateTime.Now, ActivityDesc = activity, Error = error }); SaveChanges(); }
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; } }