示例#1
0
        public void Update(decimal LogId, string LogSource, string LogFunctionName, short?LogActionId, string LogUser, string LogInfo, string LogIp, string LogMacAddress, DateTime LogTime)
        {
            TLog item = new TLog();

            item.MarkOld();
            item.IsLoaded = true;

            item.LogId = LogId;

            item.LogSource = LogSource;

            item.LogFunctionName = LogFunctionName;

            item.LogActionId = LogActionId;

            item.LogUser = LogUser;

            item.LogInfo = LogInfo;

            item.LogIp = LogIp;

            item.LogMacAddress = LogMacAddress;

            item.LogTime = LogTime;

            item.Save(UserName);
        }
示例#2
0
        public void Insert(string LogSource, string LogFunctionName, short?LogActionId, string LogUser, string LogInfo, string LogIp, string LogMacAddress, DateTime LogTime)
        {
            TLog item = new TLog();

            item.LogSource = LogSource;

            item.LogFunctionName = LogFunctionName;

            item.LogActionId = LogActionId;

            item.LogUser = LogUser;

            item.LogInfo = LogInfo;

            item.LogIp = LogIp;

            item.LogMacAddress = LogMacAddress;

            item.LogTime = LogTime;


            item.Save(UserName);
        }
示例#3
0
 public bool Destroy(object LogId)
 {
     return(TLog.Destroy(LogId) == 1);
 }
示例#4
0
 public bool Delete(object LogId)
 {
     return(TLog.Delete(LogId) == 1);
 }