public void Insert(DateTime Timestamp, int?Sessionfid, int?Accountfid, int Ipfid, string ModuleX, string Message) { PhpssLog item = new PhpssLog(); item.Timestamp = Timestamp; item.Sessionfid = Sessionfid; item.Accountfid = Accountfid; item.Ipfid = Ipfid; item.ModuleX = ModuleX; item.Message = Message; item.Save(UserName); }
public void Update(int Id, DateTime Timestamp, int?Sessionfid, int?Accountfid, int Ipfid, string ModuleX, string Message) { PhpssLog item = new PhpssLog(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.Timestamp = Timestamp; item.Sessionfid = Sessionfid; item.Accountfid = Accountfid; item.Ipfid = Ipfid; item.ModuleX = ModuleX; item.Message = Message; item.Save(UserName); }
public bool Destroy(object Id) { return(PhpssLog.Destroy(Id) == 1); }
public bool Delete(object Id) { return(PhpssLog.Delete(Id) == 1); }