Пример #1
0
 public void Trace_Insert(string Trace_Object, string Trace_Procedure, string strvalue, string Trace_User, System.DateTime dateTime)
 {
     try
     {
         Traces_Log_DA _TraceDA = new Traces_Log_DA();
         _TraceDA.Trace_Insert(Trace_Object, Trace_Procedure, strvalue, Trace_User, dateTime);
     }
     catch (Exception ex)
     {
         ErrorLog.log.Error(ex.ToString());
     }
 }
Пример #2
0
 public byte[] trace_Search(string p_object, string p_user, string p_frmdate, string p_todate)
 {
     try
     {
         Traces_Log_DA _TraceDA = new Traces_Log_DA();
         DataSet       ds       = _TraceDA.trace_Search(p_object, p_user, p_frmdate, p_todate);
         return(CompressionHelper.CompressDataSet(ds));
     }
     catch (Exception ex)
     {
         ErrorLog.log.Error(ex.ToString());
         return(new byte[0]);
     }
 }