Esempio n. 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);
        }
Esempio n. 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);
        }