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); }
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); }
public bool Destroy(object LogId) { return(TLog.Destroy(LogId) == 1); }
public bool Delete(object LogId) { return(TLog.Delete(LogId) == 1); }